///_____________________________________________________________________________
void AliEveEventBuffer::MonitorBuffer() {
- cout << "Monitorbuffer: " << endl;
- if(GetBusy()) {
- cout << "Already called FetchEvent()" << endl;
- } else {
- SetBusy(kTRUE);
- FetchEvent();
- SetBusy(kFALSE);
- }
-
+ cout << "Monitorbuffer() " << ;
+ SetBusy(kTRUE);
+ FetchEvent();
SetBusy(kFALSE);
+ cout << "done " << endl;
}
TObject * AliEveEventBuffer::NextEvent() {
//See header file for documentation
cout << "NextEvent()"<<endl;
-
-
- // if(fBusy) {
- // cout << "Event Buffer busy"<<endl;
- // return NULL;
- // }
- // else SetBusy(kTRUE);
TObject * nextEvent = GetNextUnSeen();
- //SetBusy(kFALSE);
return nextEvent;
}