20 Bool_t needDelete = kFALSE;
21 if ( ! TVirtualMCApplication::Instance() ) {
46 if ( TString(gMC->GetName()) ==
"TGeant4" ) {
49 ((TGeant4*)gMC)->ProcessGeantMacro(
"g4config2.in");
55 if ( needDelete )
delete appl;
The detector construction (via TGeo )
void SetAbsorberSizeYZ(Double_t sizeYZ)
void SetAbsorberSizeX(Double_t sizeX)
void SetMaxStepSize(Double_t maxStepSize)
void SetAbsorberMaterial(const TString &name)
Implementation of the TVirtualMCApplication.
void InitMC(const char *setup)
void SetBinSize(Double_t binSize)
void RunMC(Int_t nofEvents)
DetectorConstruction * GetDetectorConstruction() const
void test_Monopole(const TString &configMacro)