ITS stand-alone tracks added.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Mar 2009 22:01:47 +0000 (22:01 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Mar 2009 22:01:47 +0000 (22:01 +0000)
ANALYSIS/runAODFilterMC.C

index 7720d23..513482c 100644 (file)
@@ -72,9 +72,13 @@ void runAODFilterMC()
       esdTrackCutsL->SetDCAToVertex2D(kTRUE);
       esdTrackCutsL->SetRequireSigmaToVertex(kFALSE);
       esdTrackCutsL->SetAcceptKingDaughters(kFALSE);
+
+      AliESDtrackCuts* esdTrackCutsITSsa = new AliESDtrackCuts("AliESDtrackCuts", "ITS stand-alone");
+      esdTrackCutsITSsa->SetRequireITSStandAlone(kTRUE);
       
       AliAnalysisFilter* trackFilter = new AliAnalysisFilter("trackFilter");
       trackFilter->AddCuts(esdTrackCutsL);
+      trackFilter->AddCuts(esdTrackCutsITSsa);
       
       AliAnalysisTaskESDfilter *esdfilter = new AliAnalysisTaskESDfilter("ESD Filter");
       esdfilter->SetTrackFilter(trackFilter);
@@ -105,3 +109,4 @@ void runAODFilterMC()
       mgr->StartAnalysis("proof",dataset,10000);
 
 }
+