]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTrackLight.cxx
Update to fix the fact that AliRawReader::Create does not work correctly in online...
[u/mrichter/AliRoot.git] / MUON / AliMUONTrackLight.cxx
index 0072ad30775f5a4ec2ee920e25c54dd8f7c4c74d..277cc2f178fbdc4c144feb3fda49646c2b651cca 100644 (file)
@@ -41,6 +41,7 @@
 #include "AliMUONConstants.h"
 #include "AliMUONVTrackStore.h"
 #include "AliMUONTrackExtrap.h"
+#include "AliMUONTrackParam.h"
 
 #include "AliESDMuonTrack.h"
 #include "AliRunLoader.h"
@@ -233,7 +234,7 @@ TParticle* AliMUONTrackLight::FindRefTrack(
       
     if (compTrack) {
       compPart++;
-      Int_t trackID = trackRef->GetTrackID();
+      Int_t trackID = trackRef->GetUniqueID();
       this->SetTrackPythiaLine(trackID);
       part = stack->Particle(trackID);
       fTrackPDGCode = part->GetPdgCode();