- // Find out the DetElemId
- Int_t detElemId(-1);
-
- TIter next(digitStore.CreateIterator());
- AliMUONVDigit* d;
-
- d = static_cast<AliMUONVDigit*>(next());
-
- if (d)
- {
- detElemId = d->DetElemId();
- }
-
- if ( detElemId < 0 )
- {
- AliWarning("Could not find DE. Probably no digits at all ?");
- return kFALSE;
- }
-
- delete fPreClusterFinder;
- fPreClusterFinder = new AliMUONPreClusterFinder;
- return fPreClusterFinder->Prepare(segmentations,digitStore);