|
Geant4
10.02.p01
|
A base class for primary generation via HepMC object. This class is derived from G4VPrimaryGenerator. More...
#include <HepMCG4Interface.hh>
Inheritance diagram for HepMCG4Interface:
Collaboration diagram for HepMCG4Interface:Public Member Functions | |
| HepMCG4Interface () | |
| virtual | ~HepMCG4Interface () |
| HepMC::GenEvent * | GetHepMCGenEvent () const |
| virtual void | GeneratePrimaryVertex (G4Event *anEvent) |
| HepMCG4Interface () | |
| virtual | ~HepMCG4Interface () |
| HepMC::GenEvent * | GetHepMCGenEvent () const |
| virtual void | GeneratePrimaryVertex (G4Event *anEvent) |
Public Member Functions inherited from G4VPrimaryGenerator | |
| G4VPrimaryGenerator () | |
| virtual | ~G4VPrimaryGenerator () |
| G4ThreeVector | GetParticlePosition () |
| G4double | GetParticleTime () |
| void | SetParticlePosition (G4ThreeVector aPosition) |
| void | SetParticleTime (G4double aTime) |
Protected Member Functions | |
| virtual G4bool | CheckVertexInsideWorld (const G4ThreeVector &pos) const |
| void | HepMC2G4 (const HepMC::GenEvent *hepmcevt, G4Event *g4event) |
| virtual HepMC::GenEvent * | GenerateHepMCEvent () |
| virtual G4bool | CheckVertexInsideWorld (const G4ThreeVector &pos) const |
| void | HepMC2G4 (const HepMC::GenEvent *hepmcevt, G4Event *g4event) |
| virtual HepMC::GenEvent * | GenerateHepMCEvent () |
Protected Attributes | |
| HepMC::GenEvent * | hepmcEvent |
Protected Attributes inherited from G4VPrimaryGenerator | |
| G4ThreeVector | particle_position |
| G4double | particle_time |
Additional Inherited Members | |
Static Public Member Functions inherited from G4VPrimaryGenerator | |
| static G4bool | CheckVertexInsideWorld (const G4ThreeVector &pos) |
A base class for primary generation via HepMC object. This class is derived from G4VPrimaryGenerator.
Definition at line 41 of file HepMCG4Interface.hh.
| HepMCG4Interface::HepMCG4Interface | ( | ) |
Definition at line 44 of file HepMCG4Interface.cc.
|
virtual |
Definition at line 50 of file HepMCG4Interface.cc.
References hepmcEvent.
| HepMCG4Interface::HepMCG4Interface | ( | ) |
|
virtual |
|
protectedvirtual |
Definition at line 57 of file HepMCG4Interface.cc.
References G4TransportationManager::GetTransportationManager(), and kInside.
Referenced by HepMC2G4().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in HepMCG4PythiaInterface, HepMCG4PythiaInterface, HepMCG4AsciiReader, and HepMCG4AsciiReader.
|
protectedvirtual |
Reimplemented in HepMCG4PythiaInterface, HepMCG4PythiaInterface, HepMCG4AsciiReader, and HepMCG4AsciiReader.
Definition at line 119 of file HepMCG4Interface.cc.
Referenced by GeneratePrimaryVertex().
Here is the caller graph for this function:
|
virtual |
Implements G4VPrimaryGenerator.
Definition at line 126 of file HepMCG4Interface.cc.
References G4cout, G4endl, GenerateHepMCEvent(), G4RunManager::GetRunManager(), HepMC2G4(), and hepmcEvent.
Here is the call graph for this function:
|
virtual |
Implements G4VPrimaryGenerator.
| HepMC::GenEvent* HepMCG4Interface::GetHepMCGenEvent | ( | ) | const |
|
inline |
Definition at line 74 of file HepMCG4Interface.hh.
References hepmcEvent.
|
protected |
Definition at line 71 of file HepMCG4Interface.cc.
References CheckVertexInsideWorld(), GeV, mm, and position.
Referenced by GeneratePrimaryVertex().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
|
protected |
Definition at line 46 of file HepMCG4Interface.hh.
Referenced by GeneratePrimaryVertex(), GetHepMCGenEvent(), and ~HepMCG4Interface().