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
23class G4Event;
24namespace HepMC {
25 class GenEvent;
26}
27
28class AthenaHepMCtoG4EventAction : public G4VUserPrimaryGeneratorAction {
29public:
33
34public:
35 void GeneratePrimaries( G4Event* anEvent );
36 // void SetHepMCEvent(const HepMC::GenEvent *p);
37 void SetHepMCEvent( McEventCol::iterator );
38
39private:
40 const HepMC::GenEvent* p_evt;
41 McEventCol::iterator p_evtCollItr;
42 int m_logLevel;
43};
44
45#endif
void SetHepMCEvent(McEventCol::iterator)