56 FairGeoLoader* loader = FairGeoLoader::Instance();
57 FairGeoInterface* GeoInterface = loader->getGeoInterface();
59 MGeo->setGeomFile(GetGeometryFileName());
60 GeoInterface->addGeoModule(MGeo);
61 Bool_t rc = GeoInterface->readSet(MGeo);
64 MGeo->create(loader->getGeoBuilder());
67 TList* volList = MGeo->getListOfVolumes();
70 FairRun* fRun = FairRun::Instance();
71 FairRuntimeDb* rtdb = FairRun::Instance()->GetRuntimeDb();
77 TListIter iter(volList);
78 FairGeoNode* node = NULL;
79 FairGeoVolume* aVol = NULL;
81 while ((node =
dynamic_cast<FairGeoNode*
>(iter.Next())))
83 aVol =
dynamic_cast<FairGeoVolume*
>(node);
84 if (node->isSensitive())
86 fSensNodes->AddLast(aVol);
90 fPassNodes->AddLast(aVol);
94 par->setInputVersion(fRun->GetRunId(), 1);