|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
14 #ifndef DDG4_GEANT4INPUTHANDLING_H
15 #define DDG4_GEANT4INPUTHANDLING_H
22 class G4PrimaryVertex;
23 class G4PrimaryParticle;
42 Geant4Particle*
createPrimary(
int particle_id,
const Geant4Vertex*
v,
const G4PrimaryParticle* g4p);
45 Geant4PrimaryInteraction*
createPrimary(
int mask, Geant4PrimaryMap* pm, std::set<G4PrimaryVertex*>
const& primaries);
61 double dx,
double dy,
double dz,
double dt);
66 const Geant4Context* context,
71 #endif // DDG4_GEANT4INPUTHANDLING_H
Geant4Vertex * createPrimary(const G4PrimaryVertex *g4)
Create a vertex object from its G4 counterpart.
int mergeInteractions(const Geant4Action *caller, const Geant4Context *context)
Merge all interactions present in the context.
int generationInitialization(const Geant4Action *caller, const Geant4Context *context)
Initialize the generation of one event.
int generatePrimaries(const Geant4Action *caller, const Geant4Context *context, G4Event *event)
Generate all primary vertices corresponding to the merged interaction.
Geant4PrimaryInteraction Interaction
int smearInteraction(const Geant4Action *caller, Geant4PrimaryEvent::Interaction *inter, double dx, double dy, double dz, double dt)
Smear the primary vertex of an interaction.
Namespace for the AIDA detector description toolkit.
int boostInteraction(const Geant4Action *caller, Geant4PrimaryEvent::Interaction *inter, double alpha)
Boost particles of one interaction identified by its mask.