]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Bug fix
authorhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Aug 2010 09:27:30 +0000 (09:27 +0000)
committerhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Aug 2010 09:27:30 +0000 (09:27 +0000)
PWG2/FORWARD/analysis/AliFMDAnalysisTaskSharing.cxx

index f79e0f5855515a9f435e80c7ef6381ef5c0c3e01..2b297f45c75291b04bf9a92b3fd73e5301313afb 100644 (file)
@@ -338,9 +338,9 @@ void AliFMDAnalysisTaskSharing::Exec(Option_t */*option*/)
   TH1F* hEventsNSD    = (TH1F*)fDiagList->FindObject("hEventsNSD");
   TH1F* hEventsNSDVtx = (TH1F*)fDiagList->FindObject("hEventsNSDVtx");
   
-  if( TMath::Abs(vertex[2]) > pars->GetVtxCutZ()) {
-    vtxStatus = kFALSE;
-  }
+  // if( TMath::Abs(vertex[2]) > pars->GetVtxCutZ()) {
+  //  vtxStatus = kFALSE;
+  // }
   
   
   if(vtxStatus) hEventsVtx->Fill(vtxbin);
@@ -366,10 +366,10 @@ void AliFMDAnalysisTaskSharing::Exec(Option_t */*option*/)
   //std::cout<<vertex[2]<<std::endl;
   //Int_t nTrackLets = testmult->GetNumberOfTracklets();
   
-  // if( TMath::Abs(vertex[2]) > pars->GetVtxCutZ()) {
-  //  fStatus = kFALSE;
-  //  return;
-  // }
+  if( TMath::Abs(vertex[2]) > pars->GetVtxCutZ()) {
+    fStatus = kFALSE;
+    return;
+  }
     
   if(nTrackLets < 1000) foutputESDFMD->SetUniqueID(kTRUE);
   else foutputESDFMD->SetUniqueID(kFALSE);