26 FairGeoLoader* loader = FairGeoLoader::Instance();
27 FairGeoInterface* GeoInterface = loader->getGeoInterface();
29 MGeo->setGeomFile(GetGeometryFileName());
30 GeoInterface->addGeoModule(MGeo);
31 Bool_t rc = GeoInterface->readSet(MGeo);
33 MGeo->create(loader->getGeoBuilder());
36 TList* volList = MGeo->getListOfVolumes();
38 FairRun* fRun = FairRun::Instance();
39 FairRuntimeDb* rtdb = FairRun::Instance()->GetRuntimeDb();
44 TListIter iter(volList);
45 FairGeoNode* node =
nullptr;
46 FairGeoVolume* aVol =
nullptr;
48 while ((node =
static_cast<FairGeoNode*
>(iter.Next()))) {
49 aVol =
dynamic_cast<FairGeoVolume*
>(node);
50 if (node->isSensitive()) {
51 fSensNodes->AddLast(aVol);
53 fPassNodes->AddLast(aVol);
57 par->setInputVersion(fRun->GetRunId(), 1);