Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ void GeometryTGeo::Build(int loadTrans)
LOG(fatal) << "Could not find layer node " << Form("%s_1", composeSymNameLayer(iDir, iDisc));
}
auto layerVol = layerNode->GetVolume();
if (layerVol == nullptr)
if (layerVol == nullptr) {
LOG(fatal) << "Could not find layer volume " << Form("%s_1", composeSymNameLayer(iDir, iDisc));
}
TObjArray* nodes = layerVol->GetNodes();
int nNodes = nodes->GetEntriesFast();
int nStaves = 0;
Expand Down Expand Up @@ -417,4 +418,4 @@ void GeometryTGeo::Print(Option_t*) const
}

} // namespace ft3
} // namespace o2
} // namespace o2
Loading