BOSS
8.0.0
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 2005/08/17 06:45:46 dengzy Exp $
12
// Simulation/G4Sim/G4Svc tag $Name: G4Svc-00-01-58 $
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
public
:
30
AthenaHepMCtoG4EventAction
();
31
AthenaHepMCtoG4EventAction
(
int
);
32
~AthenaHepMCtoG4EventAction
();
33
34
public
:
35
void
GeneratePrimaries
( G4Event* anEvent );
36
// void SetHepMCEvent(const HepMC::GenEvent *p);
37
void
SetHepMCEvent
( McEventCol::iterator );
38
39
private
:
40
const
HepMC::GenEvent* p_evt;
41
McEventCol::iterator p_evtCollItr;
42
int
m_logLevel;
43
};
44
45
#endif
AthenaHepMCtoG4EventAction::GeneratePrimaries
void GeneratePrimaries(G4Event *anEvent)
Definition
AthenaHepMCtoG4EventAction.cpp:143
AthenaHepMCtoG4EventAction::AthenaHepMCtoG4EventAction
AthenaHepMCtoG4EventAction()
Definition
AthenaHepMCtoG4EventAction.cpp:35
AthenaHepMCtoG4EventAction::~AthenaHepMCtoG4EventAction
~AthenaHepMCtoG4EventAction()
Definition
AthenaHepMCtoG4EventAction.cpp:37
AthenaHepMCtoG4EventAction::SetHepMCEvent
void SetHepMCEvent(McEventCol::iterator)
Definition
AthenaHepMCtoG4EventAction.cpp:42
HepMC
Definition
GenIMCselector.h:12
8.0.0
BOSS_Source
Simulation
G4Svc
other
AthenaHepMCtoG4EventAction.h
Generated by
1.16.1