12#ifndef O2_FASTSIM_G4_FAST_SIMULATION_H_
13#define O2_FASTSIM_G4_FAST_SIMULATION_H_
32#include "TG4VUserFastSimulation.h"
33#include "TG4VUserPostDetConstruction.h"
45 G4FastSimulation(std::vector<std::string> models,
const std::string& envelope,
50 std::vector<std::string> mModels;
51 std::string mEnvelope;
52 double mMinEnergy = 1.;
Creates and registers the models named in G4.fastSimModels.
void Construct() override
TG4VUserPostDetConstruction * createFastSimRegionConstruction()
The construction of the fast simulation regions, or nullptr when G4.fastSimModels is empty.
TG4VUserFastSimulation * createFastSimulation()
The fast simulation for Geant4-VMC, or nullptr when G4.fastSimModels is empty.