#include <G4SimEvent.h>
Definition at line 23 of file G4SimEvent.h.
◆ G4SimEvent()
| G4SimEvent::G4SimEvent |
( |
const std::string & | name, |
|
|
ISvcLocator * | pSvcLocator ) |
Definition at line 8 of file G4SimEvent.cpp.
9 : Algorithm( name, pSvcLocator ) {}
◆ ~G4SimEvent()
| virtual G4SimEvent::~G4SimEvent |
( |
| ) |
|
|
inlinevirtual |
◆ execute()
| StatusCode G4SimEvent::execute |
( |
| ) |
|
Definition at line 30 of file G4SimEvent.cpp.
30 {
31
32 MsgStream log(
msgSvc(), name() );
33 log << MSG::VERBOSE << "Calling SimulateG4Event" << endmsg;
34
35 p_G4Svc->SimulateG4Event();
36
37 return StatusCode::SUCCESS;
38}
◆ finalize()
| StatusCode G4SimEvent::finalize |
( |
| ) |
|
◆ initialize()
| StatusCode G4SimEvent::initialize |
( |
| ) |
|
Definition at line 13 of file G4SimEvent.cpp.
13 {
14
15 MsgStream log(
msgSvc(), name() );
16 StatusCode status = service( "G4Svc", p_G4Svc );
17
18 if ( status.isSuccess() ) { log << MSG::DEBUG << "got the G4Svc" << endmsg; }
19 else { log << MSG::ERROR << "could not get the G4Svc" << endmsg; }
20
21 return status;
22}
◆ AlgFactory< G4SimEvent >
The documentation for this class was generated from the following files: