7 if(m != NULL) m->SetParam(6, 0.005);
9 if(m2 != NULL) m2->SetParam(6, 0.005);
11 if(m3 != NULL) m3->SetParam(6, 0.005);
13 TGeant3TGeo* gMC3=
new TGeant3TGeo(
"C++ Interface to Geant3");
14 cout <<
"-I- G3Config: Geant3 with TGeo has been created for Geane."
18 gMC3->SetStack( st ) ;
23 if(gROOT->GetVersionCode() >= 334848)
25 Ertrio1_t *fErtrio1 = gMC3->fErtrio1;
27 cout <<
"-I- Geane.C: NOPRNT flag set to " << fErtrio1->noprnt << endl;
28 if(fErtrio1->noprnt == 1) {
29 cout <<
"-I- Geane.C: IERR flags are not printed. If you want to switch them on, please set fErtrio1->noprnt = 0 in Geane.C" << endl;
35 gMC3->SetDEBU(0, 0, 1);
69 Float_t tofmax = 1.e10;
70 Float_t usrcuts[5] = {0.,0.,0.,0.,0.};
71 Float_t gcalpha = 0.999;
74 cout<<
"Energy straggling area parameter from user set to: "<<gcalpha<<endl;
78 cout<<
"User alpha parameter too low: forced to 0.9"<<endl;
96 gMC3->SetECut(gcalpha);
TGeoManager * gGeoManager
TString m2(TString pts, TString exts="e px py pz")