|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/IIncidentSvc.h"
9 #include "GaudiKernel/ServiceHandle.h"
30 msg(MSG::INFO) <<
"initialize()" <<
endmsg;
34 CHECK(incidentSvc.retrieve());
37 incidentSvc->addListener(
this,
"StoreCleared");
39 return StatusCode::SUCCESS;
49 if (inc.type()==
"StoreCleared") {
virtual void handle(const Incident &)
Implementation of IIncidentListener::handle.
static OrphanJetMomentMap instance
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
JetGlobalEventSetup(const std::string &name, ISvcLocator *pSvcLocator)
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
Helpers for checking error return status codes and reporting errors.
const StoreGateSvc * store() const
Return the store that was cleared.
Incident sent after a store is cleared.
virtual StatusCode initialize()
Incident sent after a store is cleared.