ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/event/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 77 of file G4HEPEvtInterface.hh.
View newest version in sPHENIX GitHub at line 77 of file G4HEPEvtInterface.hh
G4HEPEvtInterface::G4HEPEvtInterface | ( | const char * | evfile, |
G4int | vl = 0 |
||
) |
Definition at line 42 of file G4HEPEvtInterface.cc.
View newest version in sPHENIX GitHub at line 42 of file G4HEPEvtInterface.cc
References FatalException, fileName, G4cout, G4endl, G4Exception(), inputFile, G4VPrimaryGenerator::particle_position, G4VPrimaryGenerator::particle_time, and zero.
G4HEPEvtInterface::~G4HEPEvtInterface | ( | ) |
Definition at line 60 of file G4HEPEvtInterface.cc.
View newest version in sPHENIX GitHub at line 60 of file G4HEPEvtInterface.cc
Implements G4VPrimaryGenerator.
Definition at line 63 of file G4HEPEvtInterface.cc.
View newest version in sPHENIX GitHub at line 63 of file G4HEPEvtInterface.cc
References G4Event::AddPrimaryVertex(), FatalException, fileName, G4cout, G4endl, G4Exception(), GeV, HPlist, inputFile, particle, G4VPrimaryGenerator::particle_position, G4VPrimaryGenerator::particle_time, RunMustBeAborted, G4PrimaryParticle::SetDaughter(), G4PrimaryParticle::SetMass(), G4PrimaryParticle::SetMomentum(), G4PrimaryVertex::SetPrimary(), and vLevel.
|
private |
Definition at line 91 of file G4HEPEvtInterface.hh.
View newest version in sPHENIX GitHub at line 91 of file G4HEPEvtInterface.hh
Referenced by G4HEPEvtInterface(), and GeneratePrimaryVertex().
|
private |
Definition at line 93 of file G4HEPEvtInterface.hh.
View newest version in sPHENIX GitHub at line 93 of file G4HEPEvtInterface.hh
Referenced by GeneratePrimaryVertex().
|
private |
Definition at line 92 of file G4HEPEvtInterface.hh.
View newest version in sPHENIX GitHub at line 92 of file G4HEPEvtInterface.hh
Referenced by G4HEPEvtInterface(), and GeneratePrimaryVertex().
|
private |
Definition at line 90 of file G4HEPEvtInterface.hh.
View newest version in sPHENIX GitHub at line 90 of file G4HEPEvtInterface.hh
Referenced by GeneratePrimaryVertex().