k4SimGeant4
Loading...
Searching...
No Matches
ISimG4Svc Class Referenceabstract

Interface to the main Geant simulation service. More...

#include <SimG4Interface/include/SimG4Interface/ISimG4Svc.h>

Inheritance diagram for ISimG4Svc:
Collaboration diagram for ISimG4Svc:

Public Member Functions

 DeclareInterfaceID (ISimG4Svc, 1, 0)
 
virtual StatusCode processEvent (G4Event &aEvent)=0
 Simulate the event with Geant.
 
virtual StatusCode retrieveEvent (G4Event *&aEvent)=0
 Retrieve the processed event.
 
virtual StatusCode terminateEvent ()=0
 Terminate the event simulation.
 

Detailed Description

Interface to the main Geant simulation service.

Author
Anna Zaborowska

Member Function Documentation

◆ DeclareInterfaceID()

ISimG4Svc::DeclareInterfaceID ( ISimG4Svc ,
1 ,
0  )

◆ processEvent()

virtual StatusCode ISimG4Svc::processEvent ( G4Event & aEvent)
pure virtual

Simulate the event with Geant.

Parameters
[in]aEventAn event to be processed.
Returns
status code

◆ retrieveEvent()

virtual StatusCode ISimG4Svc::retrieveEvent ( G4Event *& aEvent)
pure virtual

Retrieve the processed event.

Parameters
[out]aEventThe processed event.
Returns
status code

◆ terminateEvent()

virtual StatusCode ISimG4Svc::terminateEvent ( )
pure virtual

Terminate the event simulation.

Returns
status code

The documentation for this class was generated from the following file: