36 Bool_t specialStacking =
false;
38 "geomRoot",
"QGSP_BERT_EMV",
"stepLimiter+specialCuts+specialControls", specialStacking, mtMode);
44 TGeant4* geant4 =
new TGeant4(
"TGeant4",
"The Geant4 Monte Carlo", runConfiguration);
45 cout <<
"Geant4 has been created." << endl;
51 geant4->SetStack(stack);
54 TVirtualMCDecayer* decayer = TVirtualMC::GetMC()->GetDecayer();
56 geant4->SetExternalDecayer(decayer);
62 TString configm(gSystem->Getenv(
"VMCWORKDIR"));
63 TString configm1 = configm +
"/common/gconfig/g4config.in";
64 cout <<
" -I g4Config() using g4conf macro: " << configm1 << endl;
67 geant4->SetMaxNStep(10000);
68 geant4->ProcessGeantMacro(configm1.Data());
static FairRunSim * Instance()
void SetMinPoints(Int_t min)
void StoreSecondaries(Bool_t choice=kTRUE)
void Config()
Configuration macro for Geant3 VirtualMC.