Skip to content

Commit

Permalink
Merge pull request #37428 from bsunanda/Run3-gex126X
Browse files Browse the repository at this point in the history
Run3-gex126X Utilize messagelogger instead of cout in SimG4CMS/Muon and SimG4CMS/ShowerLibraryProducer
  • Loading branch information
cmsbuild committed Apr 4, 2022
2 parents dcaa0ee + fbc0230 commit 48f1b48
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 88 deletions.
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

0 comments on commit 48f1b48

Please sign in to comment.