]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
add name extention and default y range
authorsimones <simones@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 Jul 2012 09:58:56 +0000 (09:58 +0000)
committersimones <simones@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 Jul 2012 09:58:56 +0000 (09:58 +0000)
PWGLF/STRANGENESS/LambdaK0PbPb/AddTaskV0ForRAA.C

index 3f0e1db2abdf6c3389e8059872dffd635b332c7d..4a6d7a446030c248390e9d7a38e0682bc12b02df 100644 (file)
@@ -1,4 +1,4 @@
-AliAnalysisTaskV0ForRAA *AddTaskV0ForRAA(Bool_t anaPP=kFALSE, Int_t cent=0,Int_t centDet=1,Int_t centRange=0, Bool_t mcMode=kFALSE, Bool_t mcTruthMode=kFALSE,Bool_t onFly=kTRUE,Bool_t usePID=kFALSE,Double_t etaCut,Bool_t mcEtaCut){
+AliAnalysisTaskV0ForRAA *AddTaskV0ForRAA(Bool_t anaPP=kFALSE, Int_t cent=0,Int_t centDet=1,Int_t centRange=0, Bool_t mcMode=kFALSE, Bool_t mcTruthMode=kFALSE,Bool_t onFly=kTRUE,Bool_t usePID=kFALSE,Double_t etaCut,Bool_t mcEtaCut,const Char_t * addname){
    
   
   
@@ -58,6 +58,9 @@ AliAnalysisTaskV0ForRAA *AddTaskV0ForRAA(Bool_t anaPP=kFALSE, Int_t cent=0,Int_t
       outname  += cent; 
    }
 
+   cutsname += addname;
+   taskname += addname;
+   outname  += addname;
    
    
    AliAnalysisTaskV0ForRAA *task = new AliAnalysisTaskV0ForRAA(taskname);
@@ -91,7 +94,7 @@ AliAnalysisTaskV0ForRAA *AddTaskV0ForRAA(Bool_t anaPP=kFALSE, Int_t cent=0,Int_t
    task->SetPrimVertexZCut(10.0,kTRUE);
    task->SetCosOfPointingAngleK(0.99,1000.0);
    task->SetCosOfPointingAngleL(0.99,1000.0);
-   task->SetRapidityCutMother(kTRUE,0.6);
+   task->SetRapidityCutMother(kTRUE,0.5);
    task->SetDoEtaOfMCDaughtersCut(mcEtaCut,etaCut);
    
    //--- centrality ---//