CGEM BOSS
6.6.5.f
BESIII Offline Software System
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.1.1 2013/11/22 02:11:07 juxd Exp $
12
// Simulation/G4Sim/G4Svc tag $Name: G4Svc-00-04-01 $
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-04-01
other
AthenaHepMCtoG4EventAction.h
Generated by
1.9.6