Geant4
10.01
|
#include <G4HEPEvtInterface.hh>
Public Member Functions | |
G4HEPEvtInterface (const char *evfile, G4int vl=0) | |
~G4HEPEvtInterface () | |
void | GeneratePrimaryVertex (G4Event *evt) |
Public Member Functions inherited from G4VPrimaryGenerator | |
G4VPrimaryGenerator () | |
virtual | ~G4VPrimaryGenerator () |
G4ThreeVector | GetParticlePosition () |
G4double | GetParticleTime () |
void | SetParticlePosition (G4ThreeVector aPosition) |
void | SetParticleTime (G4double aTime) |
Private Attributes | |
G4int | vLevel |
G4String | fileName |
std::ifstream | inputFile |
std::vector< G4HEPEvtParticle * > | HPlist |
Additional Inherited Members | |
Static Public Member Functions inherited from G4VPrimaryGenerator | |
static G4bool | CheckVertexInsideWorld (const G4ThreeVector &pos) |
Protected Attributes inherited from G4VPrimaryGenerator | |
G4ThreeVector | particle_position |
G4double | particle_time |
Definition at line 78 of file G4HEPEvtInterface.hh.
G4HEPEvtInterface::G4HEPEvtInterface | ( | const char * | evfile, |
G4int | vl = 0 |
||
) |
Definition at line 43 of file G4HEPEvtInterface.cc.
References FatalException, fileName, G4cout, G4endl, G4Exception(), inputFile, G4VPrimaryGenerator::particle_position, and G4VPrimaryGenerator::particle_time.
G4HEPEvtInterface::~G4HEPEvtInterface | ( | ) |
Definition at line 77 of file G4HEPEvtInterface.cc.
|
virtual |
Implements G4VPrimaryGenerator.
Definition at line 80 of file G4HEPEvtInterface.cc.
References G4Event::AddPrimaryVertex(), FatalException, fileName, G4cout, G4endl, G4Exception(), GeV, HPlist, inputFile, JustWarning, G4VPrimaryGenerator::particle_position, G4VPrimaryGenerator::particle_time, G4PrimaryParticle::SetDaughter(), G4PrimaryParticle::SetMass(), G4PrimaryParticle::SetMomentum(), G4PrimaryVertex::SetPrimary(), and vLevel.
|
private |
Definition at line 92 of file G4HEPEvtInterface.hh.
Referenced by G4HEPEvtInterface(), and GeneratePrimaryVertex().
|
private |
Definition at line 94 of file G4HEPEvtInterface.hh.
Referenced by GeneratePrimaryVertex().
|
private |
Definition at line 93 of file G4HEPEvtInterface.hh.
Referenced by G4HEPEvtInterface(), and GeneratePrimaryVertex().
|
private |
Definition at line 91 of file G4HEPEvtInterface.hh.
Referenced by GeneratePrimaryVertex().