TOT=0 check removed from TOF-T0 algorithm
authorrpreghen <rpreghen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Jul 2010 08:25:09 +0000 (08:25 +0000)
committerrpreghen <rpreghen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Jul 2010 08:25:09 +0000 (08:25 +0000)
TOF/AliTOFT0v1.cxx

index 8f95f3c..f4bfeac 100644 (file)
@@ -236,7 +236,7 @@ Double_t * AliTOFT0v1::DefineT0(Option_t *option)
    
     if (!AcceptTrack(t)) continue;
 
-    if(t->GetP() < fLowerMomBound || t->GetIntegratedLength() < 350 || t->GetTOFsignalToT() < 0.000000001)continue; //skip decays
+    if(t->GetIntegratedLength() < 350)continue; //skip decays
     if(time <= mintime) mintime=time;
     tracks[ngoodtrk]=t;
     ngoodtrk++;
@@ -693,7 +693,7 @@ Double_t * AliTOFT0v1::DefineT0(Option_t *option,Float_t pMinCut,Float_t pMaxCut
    
     if (!AcceptTrack(t)) continue;
 
-    if(t->GetP() < fLowerMomBound || t->GetIntegratedLength() < 350 || t->GetTOFsignalToT() < 0.000000001)continue; //skip decays
+    if(t->GetIntegratedLength() < 350)continue; //skip decays
     if(t->GetP() > pMinCut && t->GetP() < pMaxCut) continue;
     if(time <= mintime) mintime=time;
     tracks[ngoodtrk]=t;