00001 #include "DsSimInit.h" 00002 00003 00004 DsSimInit::DsSimInit(const std::string& name, ISvcLocator* pSvcLocator) 00005 : GaudiAlgorithm(name,pSvcLocator) 00006 { 00007 } 00008 00009 DsSimInit::~DsSimInit() 00010 { 00011 } 00012 00013 StatusCode DsSimInit::initialize() 00014 { 00015 this->GaudiAlgorithm::initialize(); 00016 00017 if (!detSvc()) { 00018 error() << "Failed to get detector data service" << endreq; 00019 return StatusCode::FAILURE; 00020 } 00021 00022 return StatusCode::SUCCESS; 00023 } 00024 00025 StatusCode DsSimInit::execute() 00026 { 00027 return StatusCode::SUCCESS; 00028 } 00029 00030 StatusCode DsSimInit::finalize() 00031 { 00032 00033 return this->GaudiAlgorithm::finalize(); 00034 }