18void test_E03_multi(
const TString& configMacro1,
const TString& configMacro2, Int_t level=0)
26 std::cerr <<
"G4 compiled with multithreading enabled. Not running with multi-engines."
31 Bool_t needDelete = kFALSE;
32 if ( ! TVirtualMCApplication::Instance() ) {
44 if (configMacro1.IsNull() && configMacro2.IsNull()) {
47 appl->
InitMC({configMacro1.Data(), configMacro2.Data()});
59 if ( needDelete )
delete appl;
Ex03bMCApplication Ex03MCApplication
Implementation of the TVirtualMCApplication.
void SetVerboseLevel(Int_t verboseLevel)
void InitMC(const char *setup)
void RunMC(Int_t nofEvents)
void SetPrintModulo(Int_t value)
Ex03PrimaryGenerator * GetPrimaryGenerator() const
void SetNofPrimaries(Int_t nofPrimaries)
void test_E03_multi(const TString &configMacro1, const TString &configMacro2, Int_t level=0)