ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
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 40 of file HepMCG4Interface.hh.
View newest version in sPHENIX GitHub at line 40 of file HepMCG4Interface.hh
HepMCG4Interface::HepMCG4Interface | ( | ) |
Definition at line 43 of file HepMCG4Interface.cc.
View newest version in sPHENIX GitHub at line 43 of file HepMCG4Interface.cc
|
virtual |
Definition at line 49 of file HepMCG4Interface.cc.
View newest version in sPHENIX GitHub at line 49 of file HepMCG4Interface.cc
References hepmcEvent.
HepMCG4Interface::HepMCG4Interface | ( | ) |
|
virtual |
|
protectedvirtual |
Definition at line 56 of file HepMCG4Interface.cc.
View newest version in sPHENIX GitHub at line 56 of file HepMCG4Interface.cc
References G4TransportationManager::GetTransportationManager(), kInside, Acts::Test::navigator, and Acts::Test::world.
Referenced by HepMC2G4().
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in HepMCG4PythiaInterface, HepMCG4PythiaInterface, HepMCG4AsciiReader, and HepMCG4AsciiReader.
|
protectedvirtual |
Reimplemented in HepMCG4PythiaInterface, HepMCG4PythiaInterface, HepMCG4AsciiReader, and HepMCG4AsciiReader.
Definition at line 118 of file HepMCG4Interface.cc.
View newest version in sPHENIX GitHub at line 118 of file HepMCG4Interface.cc
Referenced by GeneratePrimaryVertex().
Implements G4VPrimaryGenerator.
Definition at line 125 of file HepMCG4Interface.cc.
View newest version in sPHENIX GitHub at line 125 of file HepMCG4Interface.cc
References G4cout, G4endl, GenerateHepMCEvent(), G4RunManager::GetRunManager(), HepMC2G4(), and hepmcEvent.
Implements G4VPrimaryGenerator.
HepMC::GenEvent* HepMCG4Interface::GetHepMCGenEvent | ( | ) | const |
|
inline |
Definition at line 73 of file HepMCG4Interface.hh.
View newest version in sPHENIX GitHub at line 73 of file HepMCG4Interface.hh
References hepmcEvent.
Definition at line 70 of file HepMCG4Interface.cc.
View newest version in sPHENIX GitHub at line 70 of file HepMCG4Interface.cc
References source.hepunit::c_light, CheckVertexInsideWorld(), GeV, mm, momentum, and position.
Referenced by GeneratePrimaryVertex().
|
protected |
Definition at line 45 of file HepMCG4Interface.hh.
View newest version in sPHENIX GitHub at line 45 of file HepMCG4Interface.hh
Referenced by GeneratePrimaryVertex(), GetHepMCGenEvent(), and ~HepMCG4Interface().