17 #include "TVirtualMC.h"
29 TString lname( GetName());
58 Int_t NoOfEntries=
svList->GetEntries();
63 for (Int_t i = 0 ; i < NoOfEntries ; i++ ) {
65 cutName = aVol->GetName();
66 Ssiz_t
pos = cutName.Index (copysign, 1);
67 if(pos>1) { cutName.Resize(pos); }
69 fMCid=gMC->VolId(cutName.Data());
84 TFolder* mf = (TFolder*) gROOT->FindObjectAny(
"cbmroot");
86 if (mf ) { stsf = (TFolder*) mf->FindObjectAny(GetName()); }
88 TFolder* newf = stsf->AddFolder(
"Parameters",
"Detector parameters",NULL);