GSI Helmholtzzentrum für Schwerionenforschung
Dear Sebastian, runDemo in recotask causes of mc=0 an infinite loop 139 while(candIter!=candmap.end()){ 140 TrackCand* cand=candIter->second; 141 if(cand->getNHits()<10){ 142 ++candIter; 143 continue; 144 } 145 146 // Get MCTrack 147 CbmMCTrack* mc=(CbmMCTrack*)_mcArray->At(candIter->first); 148 if(mc==0){ 149 Error("DemoPRTask::Exec","MCTrack Id=&i not found!",candIter->first); 150 continue; 151 } is it right that before line 150 an increment of candIter is missing? MFG Carsten
Hi Carsten! You are right of course! Thanx for that fix! Will you submit this? Cheers! Sebastian.
I have sumbitted a fix. Cheers! Sebastian