Skip to content

Commit 12686ae

Browse files
authored
Update Detector.cxx - added missing string operations
1 parent f0e33e1 commit 12686ae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Detectors/FOCAL/simulation/src/Detector.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ void Detector::addAlignableVolumesHCAL() const
406406
const std::string snsector = "FOCAL/HCAL";
407407

408408
if (!gGeoManager->SetAlignableEntry(snsector.c_str(), vpsector.c_str())) {
409-
LOG(fatal) << (Form("Alignable entry %s not created. Volume path %s not valid", snsector, vpsector));
409+
LOG(fatal) << (Form("Alignable entry %s not created. Volume path %s not valid", snsector.c_str(), vpsector.c_str()));
410410
}
411411
}
412412

@@ -417,7 +417,7 @@ void Detector::addAlignableVolumesECAL() const
417417
const std::string snsector = "FOCAL/ECAL";
418418

419419
if (!gGeoManager->SetAlignableEntry(snsector.c_str(), vpsector.c_str())) {
420-
LOG(fatal) << (Form("Alignable entry %s not created. Volume path %s not valid", snsector, vpsector));
420+
LOG(fatal) << (Form("Alignable entry %s not created. Volume path %s not valid", snsector.c_str(), vpsector.c_str()));
421421
}
422422
}
423423

0 commit comments

Comments
 (0)