From 416a091b71d1ae5992b375994ec65c0ebf09c498 Mon Sep 17 00:00:00 2001 From: snelling Date: Mon, 18 Oct 2010 13:50:23 +0000 Subject: [PATCH] using MK option --- PWG2/FLOW/AliFlowTasks/AliAnalysisTaskFlowEvent.cxx | 4 ++-- PWG2/FLOW/macros/AddTaskFlowCentrality.C | 13 ++++++------- PWG2/FLOW/macros/runFlowTaskCentralityTrain.C | 2 -- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskFlowEvent.cxx b/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskFlowEvent.cxx index b55680c6c11..4c1511917eb 100644 --- a/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskFlowEvent.cxx +++ b/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskFlowEvent.cxx @@ -75,7 +75,7 @@ ClassImp(AliAnalysisTaskFlowEvent) AliAnalysisTaskFlowEvent::AliAnalysisTaskFlowEvent() : AliAnalysisTaskSE(), // fOutputFile(NULL), - fAnalysisType("ESD"), + fAnalysisType("MK"), fRPType("Global"), fCFManager1(NULL), fCFManager2(NULL), @@ -126,7 +126,7 @@ AliAnalysisTaskFlowEvent::AliAnalysisTaskFlowEvent() : AliAnalysisTaskFlowEvent::AliAnalysisTaskFlowEvent(const char *name, TString RPtype, Bool_t on, UInt_t iseed) : AliAnalysisTaskSE(name), // fOutputFile(NULL), - fAnalysisType("ESD"), + fAnalysisType("MK"), fRPType(RPtype), fCFManager1(NULL), fCFManager2(NULL), diff --git a/PWG2/FLOW/macros/AddTaskFlowCentrality.C b/PWG2/FLOW/macros/AddTaskFlowCentrality.C index c7546aa5383..be2eb1dfbf2 100644 --- a/PWG2/FLOW/macros/AddTaskFlowCentrality.C +++ b/PWG2/FLOW/macros/AddTaskFlowCentrality.C @@ -55,14 +55,11 @@ Bool_t WEIGHTS[] = {kFALSE,kFALSE,kFALSE}; //Phi, v'(pt), v'(eta) // SETTING THE CUTS //----------For RP selection---------- -// Use Global tracks ("Global"), or SPD tracklets ("Tracklet") -// or FMD hits ("FMD") for the RP selection -const TString rptype = "Global"; -//const TString rptype = "Tracklet"; -//const TString rptype = "FMD"; -//const TString rptype = "PMD"; +//kMC, kESD_Global, kESD_TPConly +const TString rptype = "kMC"; +const TString poitype = "kMC"; -const TString type = "ESD"; +const TString type = "MK"; void AddTaskFlowCentrality( Int_t refMultMin=0, Int_t refMultMax=1e10, @@ -78,6 +75,7 @@ void AddTaskFlowCentrality( Int_t refMultMin=0, // RP TRACK CUTS: AliFlowTrackCuts* cutsRP = new AliFlowTrackCuts(); + cutsRP->SetParamType(rptype) cutsRP->SetPtRange(0.2,10.); cutsRP->SetEtaRange(-0.7,0.7); cutsRP->SetRequireCharge(kTRUE); @@ -96,6 +94,7 @@ void AddTaskFlowCentrality( Int_t refMultMin=0, // POI TRACK CUTS: AliFlowTrackCuts* cutsPOI = new AliFlowTrackCuts(); + cutsPOI->SetParamType(poitype) cutsPOI->SetPtRange(0.2,10.); cutsPOI->SetEtaRange(-0.7,0.7); cutsPOI->SetRequireCharge(kTRUE); diff --git a/PWG2/FLOW/macros/runFlowTaskCentralityTrain.C b/PWG2/FLOW/macros/runFlowTaskCentralityTrain.C index 867f58965e5..f057a450a79 100644 --- a/PWG2/FLOW/macros/runFlowTaskCentralityTrain.C +++ b/PWG2/FLOW/macros/runFlowTaskCentralityTrain.C @@ -26,7 +26,6 @@ void runFlowTaskCentralityTrain(Int_t mode=mLocal, Int_t nRuns = 10, // Cross-check user settings before starting: // CrossCheckUserSettings(DATA); // Load needed libraries: - cout << "help" << endl; LoadLibraries(mode); // Create and configure the AliEn plug-in: if(mode == mGrid || mode == mGridPAR) @@ -134,7 +133,6 @@ void LoadLibraries(const anaModes mode) // If you want to use already compiled libraries // in the aliroot distribution //-------------------------------------------------------- - cout << "loading libs" << endl; gSystem->Load("libSTEERBase"); gSystem->Load("libESD"); gSystem->Load("libAOD"); -- 2.43.0