preserve bit 8 for TPC only tracks
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 3 Jul 2011 11:35:52 +0000 (11:35 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 3 Jul 2011 11:35:52 +0000 (11:35 +0000)
PWG4/macros/AddTaskESDFilterPWG4Train.C

index ca12757..4e663d0 100644 (file)
@@ -167,15 +167,15 @@ AliAnalysisTaskESDfilter *AddTaskESDFilter(Bool_t useKineFilter=kTRUE,
    // 64 1<<6
    trackFilter->AddCuts(esdTrackCutsH2);
    // 128 1<<7
-   trackFilter->AddCuts(esdTrackCutsTPCOnly);
-   // 256 1<<8
    trackFilter->AddCuts(esdTrackCutsH0); // add once more for tpc only tracks
+   // 256 1<<8
+   trackFilter->AddCuts(esdTrackCutsTPCOnly);
    // 512 1<<9                         
    trackFilter->AddCuts(esdTrackCutsH1); // add once more for tpc only tracks
 
    esdfilter->SetTPCOnlyFilterMask((1<<7)|(1<<8)); // these tracks are written out as TPC only 
    esdfilter->SetHybridFilterMaskITSTPC((1<<4)|(1<<5)); // these global tracks will be marked has hybrid
-   esdfilter->SetHybridFilterMasksTPC(1<<8,1<<9);   // arg0, these tpc tracks will be marked as TPC  hybrid, in addtion to thos that fail arg1
+   esdfilter->SetHybridFilterMasksTPC(1<<7,1<<9);   // arg0, these tpc tracks will be marked as TPC  hybrid, in addtion to thos that fail arg1
 
 
    // Filter with cuts on V0s