]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/SPECTRA/PiKaPr/TestAOD/QAPlots.C
update from marco
[u/mrichter/AliRoot.git] / PWGLF / SPECTRA / PiKaPr / TestAOD / QAPlots.C
index d1a8ed726403bf456d316e93621f28b69bdce8ba..a163b0baf30a3bb4ac9bcf38dae7cef6f1bb8a7f 100644 (file)
@@ -2,7 +2,8 @@ void QAPlots( AliSpectraAODHistoManager* hman_data, AliSpectraAODHistoManager* h
              AliSpectraAODEventCuts* ecuts_data, AliSpectraAODEventCuts* ecuts_mc,
              AliSpectraAODTrackCuts* tcuts_data, AliSpectraAODTrackCuts* tcuts_mc,
              TFile * fout){
-   
+  gSystem->Load("libPWGLFSPECTRA");
+
   //vtx distr in data and MC before and after event selection
   TCanvas *cVtx=new TCanvas("Vtxdistr","Vtxdistr",700,500);
   TH1F *hVtxBef_data=ecuts_data->GetHistoVtxBefSel();
@@ -93,7 +94,7 @@ void QAPlots( AliSpectraAODHistoManager* hman_data, AliSpectraAODHistoManager* h
   hQVector_mc->SetTitle(Form("%s - mc",hQVector_mc->GetTitle()));
   hQVector_mc->SetLineColor(2);
   hQVector_data->DrawClone("lhist");
-  hQVector_mc->DrawClone("lhistsame");
+  //hQVector_mc->DrawClone("lhistsame");
   gPad->BuildLegend()->SetFillColor(0);
   cQVector->cd(2);
   gPad->SetGridy();
@@ -116,7 +117,7 @@ void QAPlots( AliSpectraAODHistoManager* hman_data, AliSpectraAODHistoManager* h
   hQVectorIntegral_mc->SetTitle(Form("%s - mc",hQVectorIntegral_mc->GetTitle()));
   hQVectorIntegral_mc->SetLineColor(2);
   hQVectorIntegral_data->DrawClone("lhist");
-  hQVectorIntegral_mc->DrawClone("lhistsame");
+  //hQVectorIntegral_mc->DrawClone("lhistsame");
   gPad->BuildLegend()->SetFillColor(0);