diff --git a/src/RMGConvertLH5.cc b/src/RMGConvertLH5.cc index fad55a0..61dcf89 100644 --- a/src/RMGConvertLH5.cc +++ b/src/RMGConvertLH5.cc @@ -152,7 +152,7 @@ bool RMGConvertLH5::ConvertNTupleToTable(H5::Group& det_group) { std::replace(lgdo_units.begin(), lgdo_units.end(), '\\', '/'); } - LH5Log(RMGLog::detail, ntuple_log_prefix, "column", lgdo_name, ", with units ", lgdo_units); + LH5Log(RMGLog::detail, ntuple_log_prefix, "column ", lgdo_name, ", with units ", lgdo_units); // remove the column group with its child dataset, while preserving the data itself. std::string column_tmp = column + "__tmp"; diff --git a/src/RMGVertexConfinement.cc b/src/RMGVertexConfinement.cc index 072453c..b541037 100644 --- a/src/RMGVertexConfinement.cc +++ b/src/RMGVertexConfinement.cc @@ -348,7 +348,8 @@ void RMGVertexConfinement::InitializePhysicalVolumes() { // invalidates old iterators). for (const auto& s : new_obj_from_inspection) { fPhysicalVolumes.emplace_back(s); } - RMGLog::Out(RMGLog::detail, "Sampling from ", fPhysicalVolumes.size(), " physical volumes"); + RMGLog::OutFormat(RMGLog::detail, "Sampling from {} physical volumes, volume = {}", + fPhysicalVolumes.size(), std::string(G4BestUnit(fPhysicalVolumes.total_volume, "Volume"))); } void RMGVertexConfinement::InitializeGeometricalVolumes() {