1 parent 60e8cae commit 205248dCopy full SHA for 205248d
1 file changed
Detectors/Upgrades/ALICE3/TRKFT3/FT3/base/src/GeometryTGeo.cxx
@@ -112,8 +112,9 @@ void GeometryTGeo::Build(int loadTrans)
112
LOG(fatal) << "Could not find layer node " << Form("%s_1", composeSymNameLayer(iDir, iDisc));
113
}
114
auto layerVol = layerNode->GetVolume();
115
- if (layerVol == nullptr)
+ if (layerVol == nullptr) {
116
LOG(fatal) << "Could not find layer volume " << Form("%s_1", composeSymNameLayer(iDir, iDisc));
117
+ }
118
TObjArray* nodes = layerVol->GetNodes();
119
int nNodes = nodes->GetEntriesFast();
120
int nStaves = 0;
@@ -417,4 +418,4 @@ void GeometryTGeo::Print(Option_t*) const
417
418
419
420
} // namespace ft3
-} // namespace o2
421
+} // namespace o2
0 commit comments