30class G4VModularPhysicsList;
75 void BeamOn(
int nGenerate=-1);
The base class for bunch distribution generators.
Interface class the developer should derive to construct their element.
Factory for user specified accelerator components.
Class that constructs a Geant4 model of an accelerator.
A class that holds global options and constants.
Interface class to use BDSIM.
BDSRunManager * runManager
Cache of main objects in BDSIM.
BDSOutput * bdsOutput
Cache of main objects in BDSIM.
G4VModularPhysicsList * UserPhysicsList() const
Access user physics list.
void RegisterUserComponent(const G4String &componentTypeName, BDSComponentConstructor *componentConstructor)
void BeamOn(int nGenerate=-1)
int Initialise()
The main function where everything is constructed.
~BDSIM()
The destructor opens the geometry in Geant4 and deletes everything.
BDSComponentFactoryUser * userComponentFactory
Optional user registered component factory.
BDSBunch * bdsBunch
Cache of main objects in BDSIM.
bool ignoreSIGINT
For cmake testing.
void GeneratePrimariesOnly(const BDSGlobalConstants *globals)
BDSDetectorConstruction * realWorld
Cache of main objects in BDSIM.
int initialisationResult
Possible to not finish initialisation but have completed ok - flag for this.
G4VModularPhysicsList * userPhysicsList
Optional user registered physics list.
int argcCache
Cache of argc.
void RegisterUserPhysicsList(G4VModularPhysicsList *userPhysicsListIn)
Provide a physics list that will be used inplace of the BDSIM generate one.
char ** argvCache
Cache of argv.
bool usualPrintOut
Whether to allow the usual cout output.
BDSParser * parser
Cache of main objects in BDSIM.
bool initialised
Whether initialisation was completed safely.
Output base class that defines interface for all output types.
Const entry to parser objects.
Wrapper from G4RunManager that provides more output.