Skip to content

Commit 52c0ea3

Browse files
committed
small changes
1 parent 7bb02fa commit 52c0ea3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Detectors/Upgrades/ALICE3/FD3/simulation/src/Detector.cxx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,9 @@ void Detector::defineSensitiveVolumes()
380380
for (int ivol = 0; ivol < mChannelCounter; ivol++) {
381381
std::string volumeName = "fd3_node" + std::to_string(ivol);
382382
auto v = (TGeoVolume*)gGeoManager->GetVolume(volumeName.c_str());
383-
if (!v)
383+
if (!v) {
384384
continue;
385+
}
385386
int volId = registerSensitiveVolumeAndGetVolID(v);
386387
mChannelId[volId] = ivol;
387388
}

0 commit comments

Comments
 (0)