Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

G4SimEvent Class Reference

#include <G4SimEvent.h>

List of all members.

Public Member Functions

StatusCode execute ()
StatusCode finalize ()
 G4SimEvent (const std::string &name, ISvcLocator *pSvcLocator)
StatusCode initialize ()
virtual ~G4SimEvent ()

Private Attributes

IG4Svcp_G4Svc

Friends

class AlgFactory<G4SimEvent>


Constructor & Destructor Documentation

G4SimEvent::G4SimEvent const std::string &  name,
ISvcLocator *  pSvcLocator
 

00008                                                                       :
00009   Algorithm(name, pSvcLocator)
00010 {
00011 }

virtual G4SimEvent::~G4SimEvent  )  [inline, virtual]
 

00029 {};


Member Function Documentation

StatusCode G4SimEvent::execute  ) 
 

00041                                {
00042 
00043   MsgStream log(msgSvc(), name());
00044   log << MSG::VERBOSE << "Calling SimulateG4Event" << endreq;
00045 
00046   p_G4Svc->SimulateG4Event();
00047 
00048   return StatusCode::SUCCESS;
00049 
00050 }

StatusCode G4SimEvent::finalize  ) 
 

00033                                 {
00034 
00035   return StatusCode::SUCCESS;
00036 
00037 }

StatusCode G4SimEvent::initialize  ) 
 

00016                                   {
00017 
00018   MsgStream log(msgSvc(), name());
00019   StatusCode status = service("G4Svc",p_G4Svc);
00020 
00021   if (status.isSuccess()) {
00022     log << MSG::DEBUG << "got the G4Svc" << endreq;
00023   } else {
00024     log << MSG::ERROR << "could not get the G4Svc" << endreq;
00025   }
00026 
00027   return status;
00028 
00029 }


Friends And Related Function Documentation

friend class AlgFactory<G4SimEvent> [friend]
 


Member Data Documentation

IG4Svc* G4SimEvent::p_G4Svc [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:15:46 2011 for BOSS6.5.5 by  doxygen 1.3.9.1