BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
G4SimEvent.h
Go to the documentation of this file.
1#ifndef G4SVC_G4SIMEVENT_H
2#define G4SVC_G4SIMEVENT_H
3
4//------------------------------------------------------------------
5//
6// ClassName: G4SimEvent
7//
8// Description: Algorithm to trigger G4Svc in event Generators not used
9//
10// Author: Charles Leggett
11//
12// Date: 04-22-2003
13//
14// $Id: G4SimEvent.h,v 1.1 2005/08/17 06:45:46 dengzy Exp $
15//
16//------------------------------------------------------------------
17
18#include "GaudiKernel/Algorithm.h"
19
20class IG4Svc;
21template <class ConcreteAlgorithm> class AlgFactory;
22
23class G4SimEvent: public Algorithm {
24
25friend class AlgFactory<G4SimEvent>;
26
27public:
28 G4SimEvent (const std::string& name, ISvcLocator* pSvcLocator);
29 virtual ~G4SimEvent(){};
30
31 StatusCode initialize();
32 StatusCode finalize();
33 StatusCode execute();
34
35private:
36
37 IG4Svc* p_G4Svc;
38
39
40};
41
42#endif
43
StatusCode execute()
Definition: G4SimEvent.cpp:41
virtual ~G4SimEvent()
Definition: G4SimEvent.h:29
StatusCode initialize()
Definition: G4SimEvent.cpp:16
StatusCode finalize()
Definition: G4SimEvent.cpp:33
Definition: IG4Svc.h:30