BOSS
7.0.4
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
_
e
f
g
h
i
l
m
o
p
r
s
t
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
z
Enumerations
d
e
g
h
p
r
s
t
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
AthenaHepMCtoG4EventAction.h
Go to the documentation of this file.
1
//------------------------------------------------------------------
2
//
3
// ClassName: AthenaHepMCtoG4EventAction
4
//
5
// Description: PrimaryGeneratorAction to convert HepMC event to G4Event
6
//
7
// Author: Charles Leggett
8
//
9
// Date: 3-8-2001
10
//
11
// $Id: AthenaHepMCtoG4EventAction.h,v 1.1 2005/08/17 06:45:46 dengzy Exp $
12
// Simulation/G4Sim/G4Svc tag $Name: G4Svc-00-01-52 $
13
//
14
//------------------------------------------------------------------
15
16
#ifndef AthenaHepMCtoG4EventAction_h
17
#define AthenaHepMCtoG4EventAction_h
18
19
#include "G4VUserPrimaryGeneratorAction.hh"
20
21
#include "GeneratorObject/McEvent.h"
22
23
class
G4Event;
24
namespace
HepMC
{
25
class
GenEvent;
26
}
27
28
class
AthenaHepMCtoG4EventAction
:
public
G4VUserPrimaryGeneratorAction
29
{
30
public
:
31
AthenaHepMCtoG4EventAction
();
32
AthenaHepMCtoG4EventAction
(
int
);
33
~AthenaHepMCtoG4EventAction
();
34
35
public
:
36
void
GeneratePrimaries
(G4Event* anEvent);
37
// void SetHepMCEvent(const HepMC::GenEvent *p);
38
void
SetHepMCEvent
(McEventCol::iterator);
39
40
private
:
41
const
HepMC::GenEvent *p_evt;
42
McEventCol::iterator p_evtCollItr;
43
int
m_logLevel;
44
};
45
46
#endif
47
48
AthenaHepMCtoG4EventAction
Definition:
AthenaHepMCtoG4EventAction.h:29
AthenaHepMCtoG4EventAction::GeneratePrimaries
void GeneratePrimaries(G4Event *anEvent)
Definition:
AthenaHepMCtoG4EventAction.cpp:152
AthenaHepMCtoG4EventAction::AthenaHepMCtoG4EventAction
AthenaHepMCtoG4EventAction()
Definition:
AthenaHepMCtoG4EventAction.cpp:37
AthenaHepMCtoG4EventAction::~AthenaHepMCtoG4EventAction
~AthenaHepMCtoG4EventAction()
Definition:
AthenaHepMCtoG4EventAction.cpp:41
AthenaHepMCtoG4EventAction::SetHepMCEvent
void SetHepMCEvent(McEventCol::iterator)
Definition:
AthenaHepMCtoG4EventAction.cpp:48
HepMC
Definition:
GenIMCselector.h:12
source
Simulation
G4Svc
G4Svc-00-01-52
other
AthenaHepMCtoG4EventAction.h
Generated by
1.9.6