#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.
8 :
9 Algorithm(name, pSvcLocator)
10{
11}
◆ ~G4SimEvent()
virtual G4SimEvent::~G4SimEvent |
( |
| ) |
|
|
inlinevirtual |
◆ execute()
StatusCode G4SimEvent::execute |
( |
| ) |
|
Definition at line 41 of file G4SimEvent.cpp.
41 {
42
43 MsgStream log(
msgSvc(), name());
44 log << MSG::VERBOSE << "Calling SimulateG4Event" << endreq;
45
46 p_G4Svc->SimulateG4Event();
47
48 return StatusCode::SUCCESS;
49
50}
◆ finalize()
StatusCode G4SimEvent::finalize |
( |
| ) |
|
Definition at line 33 of file G4SimEvent.cpp.
33 {
34
35 return StatusCode::SUCCESS;
36
37}
◆ initialize()
StatusCode G4SimEvent::initialize |
( |
| ) |
|
Definition at line 16 of file G4SimEvent.cpp.
16 {
17
18 MsgStream log(
msgSvc(), name());
19 StatusCode status = service("G4Svc",p_G4Svc);
20
21 if (status.isSuccess()) {
22 log << MSG::DEBUG << "got the G4Svc" << endreq;
23 } else {
24 log << MSG::ERROR << "could not get the G4Svc" << endreq;
25 }
26
27 return status;
28
29}
◆ AlgFactory< G4SimEvent >
The documentation for this class was generated from the following files: