From 69139eadf64906a9564ceb85add93ed3087b507e Mon Sep 17 00:00:00 2001 From: agrigora Date: Mon, 15 Sep 2014 20:12:32 +0200 Subject: [PATCH] Revert "Femto ESE code updates (Alice Ohlson)" This reverts commit aa6406509d8dca204ba1e1e7d8fc91acfd7271fa. --- .../ESE/AliAnalysisTaskFemtoESE.cxx | 50 ++++++++++++++----- 1 file changed, 37 insertions(+), 13 deletions(-) diff --git a/PWGCF/FEMTOSCOPY/ESE/AliAnalysisTaskFemtoESE.cxx b/PWGCF/FEMTOSCOPY/ESE/AliAnalysisTaskFemtoESE.cxx index 67e144ac6a4..d2bacfc5c52 100644 --- a/PWGCF/FEMTOSCOPY/ESE/AliAnalysisTaskFemtoESE.cxx +++ b/PWGCF/FEMTOSCOPY/ESE/AliAnalysisTaskFemtoESE.cxx @@ -396,10 +396,12 @@ void AliAnalysisTaskFemtoESE::UserCreateOutputObjects() hqmix[k][e][c] = new TH3F*[nVzBins]; for(Int_t v = 0; v < nVzBins; v++) { - hq[k][e][c][v] = new TH3F(Form("hq_%i_%i_%i_%i",k,e,c,v),Form("hq_%i_%i_%i_%i",k,e,c,v),20,-0.2,0.2,20,-0.2,0.2,20,-0.2,0.2); + hq[k][e][c][v] = new TH3F(Form("hq_%i_%i_%i_%i",k,e,c,v),Form("hq_%i_%i_%i_%i",k,e,c,v),30,-0.2,0.2,30,-0.2,0.2,30,-0.2,0.2); fOutputList->Add(hq[k][e][c][v]); - hqmix[k][e][c][v] = new TH3F(Form("hqmix_%i_%i_%i_%i",k,e,c,v),Form("hqmix_%i_%i_%i_%i",k,e,c,v),20,-0.2,0.2,20,-0.2,0.2,20,-0.2,0.2); + //cout << "Made histogram " << hq[k][e][c][v]->GetName() << endl; + hqmix[k][e][c][v] = new TH3F(Form("hqmix_%i_%i_%i_%i",k,e,c,v),Form("hqmix_%i_%i_%i_%i",k,e,c,v),30,-0.2,0.2,30,-0.2,0.2,30,-0.2,0.2); fOutputList->Add(hqmix[k][e][c][v]); + //cout << "Made histogram " << hqmix[k][e][c][v]->GetName() << endl; } } } @@ -415,6 +417,18 @@ void AliAnalysisTaskFemtoESE::UserCreateOutputObjects() TH1F* hvzbins = new TH1F("hvzbins","vz bins",nVzBins,vzBins); fOutputList->Add(hvzbins); + + //cout << "nktbins = " << nKtBins << " " << ktBins << endl; + cout << "kt bins: "; + for(Int_t y = 0; y < nKtBins+1; y++) cout << ktBins[y] << " "; + cout << endl << "ep bins: "; + for(Int_t y = 0; y < nEPBins+1; y++) cout << epBins[y] << " "; + cout << endl << "cent bins: "; + for(Int_t y = 0; y < nCentBins+1; y++) cout << centBins[y] << " "; + cout << endl << "vz bins: "; + for(Int_t y = 0; y < nVzBins+1; y++) cout << vzBins[y] << " "; + cout << endl; + Printf("************************"); Printf("using the %s detector for event plane determination",fEPDet ? "V0C" : "V0A"); Printf("using the %s detector for q-vector determination",fQPercDet ? "V0C" : "V0A"); @@ -432,6 +446,8 @@ void AliAnalysisTaskFemtoESE::UserCreateOutputObjects() nCountMixedPairs = 0; nCountTracks = 0; + cout << "Done making stuff!" << endl; + PostData(1, fOutputList); PostData(2, fHelperPID); } @@ -451,7 +467,7 @@ void AliAnalysisTaskFemtoESE::UserExec(Option_t *) if(!EventCut()) return; fEventCounter++; - if(fEventCounter%1000==0) Printf("=========== Event # %i ===========",fEventCounter); + if(fEventCounter%1000==0) cout<<"=========== Event # "<IsSelected(fAOD,fTrackCuts)) Printf("Error! Event not accepted by AliAODSpectraEventCuts!"); + if(!fEventCuts->IsSelected(fAOD,fTrackCuts)) cout << "Error! Event not accepted by AliAODSpectraEventCuts!" << endl; //TVector2* qvecA = fEventCuts->GetqV0A(); //TVector2* qvecC = fEventCuts->GetqV0C(); //Double_t psiV0 = qvecA->Phi()/2.; @@ -771,7 +787,7 @@ void AliAnalysisTaskFemtoESE::Terminate(Option_t *) // Called once at the end of the query - Printf("Done"); + cout<<"Done"<