diff --git a/reco/L1/CbmL1ReadEvent.cxx b/reco/L1/CbmL1ReadEvent.cxx index df15dbfcc10116f5405f83b5bd69a02194bbec2d..f92fefcdc565b8c34bb17107034f036bdcb4bbec 100644 --- a/reco/L1/CbmL1ReadEvent.cxx +++ b/reco/L1/CbmL1ReadEvent.cxx @@ -295,7 +295,7 @@ void CbmL1::ReadEvent(CbmEvent* event) if (!ReadMCPoint(&MC, iMC, iFile, iEvent, 3)) { auto* pPoint = static_cast<CbmTrdPoint*>(fpTrdPoints->Get(iFile, iEvent, iMC)); int iStLoc = CbmTrdTrackingInterface::Instance()->GetTrackingStationIndex(pPoint->GetDetectorID()); - MC.iStation = fpAlgo->GetParameters()->GetStationIndexActive(iStLoc, L1DetectorID::kSts); + MC.iStation = fpAlgo->GetParameters()->GetStationIndexActive(iStLoc, L1DetectorID::kTrd); if (MC.iStation < 0) { continue; } // Reject MC points from inactive stations auto itTrack = fmMCTracksLinksMap.find(CbmL1LinkKey(MC.ID, iEvent, iFile)); assert(itTrack != fmMCTracksLinksMap.cend());