21 if ( SC.isFailure() ) return 1;
27 if ( !appMgr || !propMgr ) {
28 std::cout <<
"Fatal error while creating the ApplicationMgr " << std::endl;
33 propMgr->setProperty(
"EvtMax", 1 ).
ignore();
35 CHECK( appMgr->configure() );
36 CHECK( appMgr->initialize() );
37 CHECK( appMgr->reinitialize() );
38 CHECK( appMgr->start() );
39 CHECK( appMgr->stop() );
40 CHECK( appMgr->start() );
41 CHECK( appMgr->run() );
The IProperty is the basic interface for all components which have properties that can be set or get.
StatusCode setProperty(const Gaudi::Details::PropertyBase &p)
Set the property from a property.
Small smart pointer class with automatic reference counting for IInterface.
const StatusCode & ignore() const
Allow discarding a StatusCode without warning.
GAUDI_API IAppMgrUI * createApplicationMgr(const std::string &dllname, const std::string &factname)