Просмотр исходного кода

Small addition for CreateExtendedAT.C (50)

PeterParfenov 1 год назад
Родитель
Сommit
7d72ec71cb
1 измененных файлов с 8 добавлено и 8 удалено
  1. 8 8
      postprocessing/Draw_graphs.C

+ 8 - 8
postprocessing/Draw_graphs.C

@@ -817,7 +817,7 @@ void Draw_graphs(TString inFileName="", TString outFileName="./test_graphs.root"
         {
             for (int iproj2=0; iproj2<nProj; iproj2++)
             {
-                uq_cent = u2_tpcEP1[iproj1][iproj2][ipid].Rebin({"McEvent_B", 1, bcent_range.first, bcent_range.second});
+                uq_cent = u2_tpcEP1[iproj1][iproj2][ipid].Rebin({"RecoEventExt_bcent", 1, bcent_range.first, bcent_range.second});
                 name = trackBranchName+projPtName;
                 uq_pT = uq_cent.Projection({name});
                 uq_pT.SetErrors(Qn::Stat::ErrorType::BOOTSTRAP);
@@ -837,7 +837,7 @@ void Draw_graphs(TString inFileName="", TString outFileName="./test_graphs.root"
                 graph->SetTitle(name.c_str());
                 graph->Write();
 
-                uq_cent = u2_tpcEP2[iproj1][iproj2][ipid].Rebin({"McEvent_B", 1, bcent_range.first, bcent_range.second});
+                uq_cent = u2_tpcEP2[iproj1][iproj2][ipid].Rebin({"RecoEventExt_bcent", 1, bcent_range.first, bcent_range.second});
                 name = trackBranchName+projPtName;
                 uq_pT = uq_cent.Projection({name});
                 uq_pT.SetErrors(Qn::Stat::ErrorType::BOOTSTRAP);
@@ -857,7 +857,7 @@ void Draw_graphs(TString inFileName="", TString outFileName="./test_graphs.root"
                 graph->SetTitle(name.c_str());
                 graph->Write();
 
-                uq_cent = u2_tpcSP1[iproj1][iproj2][ipid].Rebin({"McEvent_B", 1, bcent_range.first, bcent_range.second});
+                uq_cent = u2_tpcSP1[iproj1][iproj2][ipid].Rebin({"RecoEventExt_bcent", 1, bcent_range.first, bcent_range.second});
                 name = trackBranchName+projPtName;
                 uq_pT = uq_cent.Projection({name});
                 uq_pT.SetErrors(Qn::Stat::ErrorType::BOOTSTRAP);
@@ -877,7 +877,7 @@ void Draw_graphs(TString inFileName="", TString outFileName="./test_graphs.root"
                 graph->SetTitle(name.c_str());
                 graph->Write();
 
-                uq_cent = u2_tpcSP2[iproj1][iproj2][ipid].Rebin({"McEvent_B", 1, bcent_range.first, bcent_range.second});
+                uq_cent = u2_tpcSP2[iproj1][iproj2][ipid].Rebin({"RecoEventExt_bcent", 1, bcent_range.first, bcent_range.second});
                 name = trackBranchName+projPtName;
                 uq_pT = uq_cent.Projection({name});
                 uq_pT.SetErrors(Qn::Stat::ErrorType::BOOTSTRAP);
@@ -897,7 +897,7 @@ void Draw_graphs(TString inFileName="", TString outFileName="./test_graphs.root"
                 graph->SetTitle(name.c_str());
                 graph->Write();
 
-                uq_cent = u1_fhcalEP1[iproj1][iproj2][ipid].Rebin({"McEvent_B", 1, bcent_range.first, bcent_range.second});
+                uq_cent = u1_fhcalEP1[iproj1][iproj2][ipid].Rebin({"RecoEventExt_bcent", 1, bcent_range.first, bcent_range.second});
                 name = trackBranchName+projPtName;
                 uq_pT = uq_cent.Projection({name});
                 uq_pT.SetErrors(Qn::Stat::ErrorType::BOOTSTRAP);
@@ -917,7 +917,7 @@ void Draw_graphs(TString inFileName="", TString outFileName="./test_graphs.root"
                 graph->SetTitle(name.c_str());
                 graph->Write();
 
-                uq_cent = u1_fhcalEP2[iproj1][iproj2][ipid].Rebin({"McEvent_B", 1, bcent_range.first, bcent_range.second});
+                uq_cent = u1_fhcalEP2[iproj1][iproj2][ipid].Rebin({"RecoEventExt_bcent", 1, bcent_range.first, bcent_range.second});
                 name = trackBranchName+projPtName;
                 uq_pT = uq_cent.Projection({name});
                 uq_pT.SetErrors(Qn::Stat::ErrorType::BOOTSTRAP);
@@ -937,7 +937,7 @@ void Draw_graphs(TString inFileName="", TString outFileName="./test_graphs.root"
                 graph->SetTitle(name.c_str());
                 graph->Write();
 
-                uq_cent = u1_fhcalSP1[iproj1][iproj2][ipid].Rebin({"McEvent_B", 1, bcent_range.first, bcent_range.second});
+                uq_cent = u1_fhcalSP1[iproj1][iproj2][ipid].Rebin({"RecoEventExt_bcent", 1, bcent_range.first, bcent_range.second});
                 name = trackBranchName+projPtName;
                 uq_pT = uq_cent.Projection({name});
                 uq_pT.SetErrors(Qn::Stat::ErrorType::BOOTSTRAP);
@@ -957,7 +957,7 @@ void Draw_graphs(TString inFileName="", TString outFileName="./test_graphs.root"
                 graph->SetTitle(name.c_str());
                 graph->Write();
 
-                uq_cent = u1_fhcalSP2[iproj1][iproj2][ipid].Rebin({"McEvent_B", 1, bcent_range.first, bcent_range.second});
+                uq_cent = u1_fhcalSP2[iproj1][iproj2][ipid].Rebin({"RecoEventExt_bcent", 1, bcent_range.first, bcent_range.second});
                 name = trackBranchName+projPtName;
                 uq_pT = uq_cent.Projection({name});
                 uq_pT.SetErrors(Qn::Stat::ErrorType::BOOTSTRAP);