1#include "G4Svc/G4SimEvent.h"
4#include "GaudiKernel/MsgStream.h"
5#include "GaudiKernel/AlgFactory.h"
9 Algorithm(name, pSvcLocator)
18 MsgStream log(
msgSvc(), name());
19 StatusCode status = service(
"G4Svc",p_G4Svc);
21 if (status.isSuccess()) {
22 log << MSG::DEBUG <<
"got the G4Svc" << endreq;
24 log << MSG::ERROR <<
"could not get the G4Svc" << endreq;
35 return StatusCode::SUCCESS;
43 MsgStream log(
msgSvc(), name());
44 log << MSG::VERBOSE <<
"Calling SimulateG4Event" << endreq;
46 p_G4Svc->SimulateG4Event();
48 return StatusCode::SUCCESS;
G4SimEvent(const std::string &name, ISvcLocator *pSvcLocator)