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);
62 if (rc) MGeo->create(loader->getGeoBuilder());
64 TList* volList = MGeo->getListOfVolumes();
66 FairRun* fRun = FairRun::Instance();
67 FairRuntimeDb* rtdb = FairRun::Instance()->GetRuntimeDb();
72 TListIter iter(volList);
73 FairGeoNode* node = NULL;
74 FairGeoVolume* aVol = NULL;
76 while ((node = (FairGeoNode*) iter.Next())) {
77 aVol =
dynamic_cast<FairGeoVolume*
>(node);
78 if (node->isSensitive()) { fSensNodes->AddLast(aVol); }
80 fPassNodes->AddLast(aVol);
83 ProcessNodes(volList);
85 par->setInputVersion(fRun->GetRunId(), 1);