updated for TRD tracks
authorjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 5 Dec 2009 13:18:37 +0000 (13:18 +0000)
committerjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 5 Dec 2009 13:18:37 +0000 (13:18 +0000)
EVE/hlt-macros/hlt_esd_tracks.C

index 255bd75..83b108a 100644 (file)
@@ -62,6 +62,11 @@ AliEveTrack* hlt_esd_make_track(AliESDtrack *at, TEveTrackList* cont)
   else if( at->GetInnerParam() ){
     trackParam = *(at->GetInnerParam());
   }
+  if( at->GetStatus()&AliESDtrack::kTRDin ){
+    // transport to TRD in
+    trackParam = *at;
+    trackParam.PropagateTo( 290.45, -10.*( cont->GetPropagator()->GetMagField(0,0,0).fZ) );
+  }
 
   TEveRecTrack rt;
   {