1 #define GAUDISVC_EVENTLOOPMGR_CPP
22 #define ON_DEBUG if (UNLIKELY(outputLevel() <= MSG::DEBUG))
23 #define ON_VERBOSE if (UNLIKELY(outputLevel() <= MSG::VERBOSE))
25 #define DEBMSG ON_DEBUG debug()
26 #define VERMSG ON_VERBOSE verbose()
46 "Set this property to false to suppress warning messages");
68 DEBMSG <<
"Error Initializing base class MinimalEventLoopMgr." <<
endmsg;
75 fatal() <<
"Error retrieving EventDataSvc interface IDataManagerSvc." <<
endmsg;
80 fatal() <<
"Error retrieving EventDataSvc interface IDataProviderSvc." <<
endmsg;
87 fatal() <<
"IProperty interface not found in ApplicationMgr." <<
endmsg;
100 fatal() <<
"Can not create the event selector Context." <<
endmsg;
113 warning() <<
"Unable to locate service \"EventSelector\" " <<
endmsg;
114 warning() <<
"No events will be processed from external input." <<
endmsg;
121 fatal() <<
"Error retrieving HistogramDataSvc." <<
endmsg;
127 warning() <<
"Histograms cannot not be saved - though required." <<
endmsg;
141 DEBMSG <<
"Error Initializing base class MinimalEventLoopMgr." <<
endmsg;
159 sc = theSvc->reinitialize();
161 error() <<
"Failure Reinitializing EventSelector "
162 << theSvc->name( ) <<
endmsg;
167 sc = theSvc->sysInitialize();
169 error() <<
"Failure Initializing EventSelector "
170 << theSvc->name( ) <<
endmsg;
176 error() <<
"Can not create Context " << theSvc->name( ) <<
endmsg;
179 info() <<
"EventSelector service changed to "
180 << theSvc->name( ) <<
endmsg;
189 error() <<
"Can not create Context " << theSvc->name( ) <<
endmsg;
224 error() <<
"Error finalizing base class" <<
endmsg;
235 if ( objects->size() > 0 ) {
236 IDataSelector::iterator
i;
237 for ( i = objects->begin(); i != objects->end(); i++ ) {
241 (*i)->registry()->setAddress(pAddr);
247 for ( i = objects->begin(); i != objects->end(); i++ ) {
256 info() <<
"Histograms converted successfully according to request." <<
endmsg;
259 error() <<
"Error while saving Histograms." <<
endmsg;
263 error() <<
"Error while traversing Histogram data store" <<
endmsg;
293 always() <<
"Terminating event processing loop due to a stop scheduled by an incident listener" <<
endmsg;
304 error() <<
"Terminating event processing loop due to errors" <<
endmsg;
323 static int total_nevt = 0;
329 for(
int nevt = 0; (maxevt == -1 ?
true :
nevt < maxevt);
nevt++, total_nevt++) {
334 always() <<
"Terminating event processing loop due to scheduled stop" <<
endmsg;
338 if( 0 != total_nevt ) {
357 info() <<
"No more events in event selection " <<
endmsg;
363 warning() <<
"Error declaring event root address." <<
endmsg;
368 warning() <<
"Unable to retrieve Event root object" <<
endmsg;
375 warning() <<
"Error declaring event root DataObject" <<
endmsg;
382 error() <<
"Terminating event processing loop due to errors" <<
endmsg;