36 Bool_t specialStacking =
false;
37 TG4RunConfiguration* runConfiguration =
new TG4RunConfiguration(
38 "geomRoot",
"QGSP_BERT_EMV",
"stepLimiter+specialCuts+specialControls", specialStacking, mtMode);
41 TGeant4* geant4 =
new TGeant4(
"TGeant4",
"The Geant4 Monte Carlo", runConfiguration);
42 cout <<
"Geant4 has been created." << endl;
48 geant4->SetStack(stack);
51 TVirtualMCDecayer* decayer = TPythia6Decayer::Instance();
52 geant4->SetExternalDecayer(decayer);
58 TString configm(gSystem->Getenv(
"CONFIG_DIR"));
59 TString configm1 = configm +
"/g4config.in";
60 cout <<
" -I g4Config() using g4conf macro: " << configm1 << endl;
63 geant4->SetMaxNStep(10000);
64 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.