]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
updated macros for Sigma* analysis (M- Venaruzzo)
authorfbellini <fbellini@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Mar 2013 09:34:42 +0000 (09:34 +0000)
committerfbellini <fbellini@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Mar 2013 09:34:42 +0000 (09:34 +0000)
PWGLF/RESONANCES/macros/mini/AddAnalysisTaskSigmaStarPP.C
PWGLF/RESONANCES/macros/mini/AddAnalysisTaskSigmaStarPbPb.C

index 4513b7be1c5db02cc57b9ab5251ad0977c800ad0..94241c657e1ec1ef0526e1611673a3f849dae7a4 100644 (file)
@@ -19,6 +19,7 @@ AliRsnMiniAnalysisTask * AddAnalysisTaskSigmaStarPP
 (
    Bool_t      isMC,
    Bool_t      isPP,
+   Float_t     cutV = 10.0,
    Int_t       aodFilterBit = 5,
    Int_t       piPIDCut = 3.0,
    Int_t       pPIDCut = 3.0,
@@ -76,7 +77,7 @@ AliRsnMiniAnalysisTask * AddAnalysisTaskSigmaStarPP
    // - 2nd argument --> |Vz| range
    // - 3rd argument --> minimum required number of contributors
    // - 4th argument --> tells if TPC stand-alone vertexes must be accepted
-   AliRsnCutPrimaryVertex *cutVertex = new AliRsnCutPrimaryVertex("cutVertex", 10.0, 0, kFALSE);
+   AliRsnCutPrimaryVertex *cutVertex = new AliRsnCutPrimaryVertex("cutVertex", cutV, 0, kFALSE);
    if (isPP) cutVertex->SetCheckPileUp(kTRUE);   // set the check for pileup
    
    // define and fill cut set for event cut
index 33f42d4355146352cd63d9ad119156c0b70e6490..71d2e0aa0561293e8382a5e84df6e078112c80e7 100644 (file)
@@ -1,4 +1,4 @@
-/***************************************************************************
+***************************************************************************
               massimo.venaruzzo@cern.ch - last modified on 11/10/2012
 //
 // General macro to configure the RSN analysis task.
@@ -19,6 +19,7 @@ AliRsnMiniAnalysisTask * AddAnalysisTaskSigmaStarPbPb
 (
    Bool_t      isMC,
    Bool_t      isPP,
+   Float_t     cutV = 10.0,
    Int_t       aodFilterBit = 5,
    Int_t       piPIDCut = 3.0,
    Int_t       pPIDCut = 3.0,
@@ -76,7 +77,7 @@ AliRsnMiniAnalysisTask * AddAnalysisTaskSigmaStarPbPb
    // - 2nd argument --> |Vz| range
    // - 3rd argument --> minimum required number of contributors
    // - 4th argument --> tells if TPC stand-alone vertexes must be accepted
-   AliRsnCutPrimaryVertex *cutVertex = new AliRsnCutPrimaryVertex("cutVertex", 10.0, 0, kFALSE);
+   AliRsnCutPrimaryVertex *cutVertex = new AliRsnCutPrimaryVertex("cutVertex", cutV, 0, kFALSE);
    if (isPP) cutVertex->SetCheckPileUp(kTRUE);   // set the check for pileup
    
    // define and fill cut set for event cut