Skip to content

Commit 56c003b

Browse files
author
Sunanda
committed
Avoid warning
1 parent d4ca72e commit 56c003b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SimG4CMS/Calo/src/CaloSD.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ void CaloSD::EndOfEvent(G4HCofThisEvent*) {
420420
if (theHC[k] == nullptr)
421421
edm::LogVerbatim("CaloSim") << "CaloSD: EndofEvent entered for container " << k << " with no entries";
422422
else
423-
edm::LogVerbatim("CaloSim") << "CaloSD: EndofEvent entered for container " << k << " with " << theHC[0]->entries()
423+
edm::LogVerbatim("CaloSim") << "CaloSD: EndofEvent entered for container " << k << " with " << theHC[k]->entries()
424424
<< " entries";
425425
}
426426
#endif

0 commit comments

Comments
 (0)