Go to the source code of this file.
Definition at line 5 of file outdated/mpiTools/macros/gconfig/g3Config.C.
References cut, cuts, fRun, PndStack::SetMinPoints(), PndStack::StoreSecondaries(), and TString.
7 FairRunSim *
fRun = FairRunSim::Instance();
8 TString* gModel = fRun->GetGeoModel();
9 TGeant3* geant3 = NULL;
10 if ( strncmp(gModel->Data(),
"TGeo",4) == 0 ) {
12 =
new TGeant3TGeo(
"C++ Interface to Geant3");
13 cout <<
"-I- G3Config: Geant3 with TGeo has been created."
17 =
new TGeant3(
"C++ Interface to Geant3");
18 cout <<
"-I- G3Config: Geant3 native has been created."
25 geant3->SetStack( st ) ;
29 geant3->SetSWIT(4, 100);
30 geant3->SetDEBU(0, 0, 1);
37 geant3->SetERAN(5.e-7);
40 TString configm(gSystem->Getenv(
"CONFIG_DIR"));
42 cout <<
"Physics cuts with script \n "<< cuts.Data() << endl;
43 Int_t
cut=gROOT->LoadMacro(cuts.Data());
44 if(cut==0)gInterpreter->ProcessLine(
"SetCuts()");
void SetMinPoints(Int_t min)
void StoreSecondaries(Bool_t choice=kTRUE)