Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run3-gex126X Utilize messagelogger instead of cout in SimG4CMS/Muon and SimG4CMS/ShowerLibraryProducer #37428

Merged
merged 4 commits into from Apr 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions SimG4CMS/Muon/src/MuonG4Numbering.cc
Expand Up @@ -32,13 +32,14 @@ MuonG4Numbering::MuonG4Numbering(const MuonGeometryConstants& muonConstants, con
edm::LogVerbatim("MuonSim") << "MuonGeometryNumbering finds unusual level constant:" << theLevelPart;
}
if ((theStartCopyNo != 0) && (theStartCopyNo != 1)) {
std::cout << "MuonGeometryNumbering finds unusual start value for copy numbers:" << theStartCopyNo << std::endl;
edm::LogVerbatim("MuonSim") << "MuonGeometryNumbering finds unusual start value for copy numbers:"
<< theStartCopyNo;
}

#ifdef EDM_ML_DEBUG
edm::LogVerbatim("MuonSim") << "StartCopyNo = " << theStartCopyNo;
edm::LogVerbatim("MuonSim") << "MuonG4Numbering configured with"
<< "Level = " << theLevelPart << " Super = " << theSuperPart << " Base = " << theBasePart
edm::LogVerbatim("MuonSim") << "MuonG4Numbering configured with Level = " << theLevelPart
<< " Super = " << theSuperPart << " Base = " << theBasePart
<< " StartCopyNo = " << theStartCopyNo;
edm::LogVerbatim("MuonSim") << "dd4hep flag set to " << dd4hep_ << " and offsetmap at " << offMap_;
#endif
Expand Down