BOSS
7.1.2
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
20
class
IG4Svc
;
21
template
<
class
ConcreteAlgorithm>
class
AlgFactory
;
22
23
class
G4SimEvent
:
public
Algorithm {
24
25
friend
class
AlgFactory
<
G4SimEvent
>;
26
27
public
:
28
G4SimEvent
(
const
std::string& name, ISvcLocator* pSvcLocator);
29
virtual
~G4SimEvent
(){};
30
31
StatusCode
initialize
();
32
StatusCode
finalize
();
33
StatusCode
execute
();
34
35
private
:
36
37
IG4Svc
* p_G4Svc;
38
39
40
};
41
42
#endif
43
AlgFactory
Definition
G4SimEvent.h:21
G4SimEvent
Definition
G4SimEvent.h:23
G4SimEvent::G4SimEvent
G4SimEvent(const std::string &name, ISvcLocator *pSvcLocator)
Definition
G4SimEvent.cpp:8
G4SimEvent::execute
StatusCode execute()
Definition
G4SimEvent.cpp:41
G4SimEvent::~G4SimEvent
virtual ~G4SimEvent()
Definition
G4SimEvent.h:29
G4SimEvent::initialize
StatusCode initialize()
Definition
G4SimEvent.cpp:16
G4SimEvent::finalize
StatusCode finalize()
Definition
G4SimEvent.cpp:33
IG4Svc
Definition
IG4Svc.h:31
7.1.2
Simulation
G4Svc
G4Svc-00-01-56
other
G4SimEvent.h
Generated by
1.12.0