Updated tpc track to 5cm from 0, 0, z
authorslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Nov 2010 14:23:22 +0000 (14:23 +0000)
committerslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Nov 2010 14:23:22 +0000 (14:23 +0000)
HLT/EVE/AliHLTEveHLT.cxx

index 14b849a..78d81ce 100644 (file)
@@ -470,7 +470,9 @@ AliEveTrack* AliHLTEveHLT::MakeEsdTrack (AliESDtrack *at, TEveTrackList* cont) {
     trackParam = *at->GetConstrainedParam();
   }
   else if( at->GetInnerParam() ){
-    trackParam = *(at->GetInnerParam());
+    float x = at->GetX();
+    float y = at->GetY();
+    if(sqrt(x*x+y*y)>.5 ) trackParam = *(at->GetInnerParam());
   }
   if( at->GetStatus()&AliESDtrack::kTRDin ){
     // transport to TRD in