--- PamCut/TrkCuts/TrkGeomCut/TrkGeomCut.cpp 2010/03/10 08:54:20 1.2 +++ PamCut/TrkCuts/TrkGeomCut/TrkGeomCut.cpp 2015/03/25 17:38:09 1.3 @@ -11,7 +11,11 @@ int TrkGeomCut::Check(PamLevel2 *event) { - TrkTrack *trkTrack = event->GetTrack(0)->GetTrkTrack(); + + if(event->GetNTracks(_trkAlg)==0)return 0; + +// TrkTrack *trkTrack = event->GetTrack(0)->GetTrkTrack(); + ExtTrack *trkTrack = event->GetTrack(0,_trkAlg)->GetExtTrack(); Float_t xT, yT;