Skip to content

Commit

Permalink
Merge pull request #34874 from smuzaffar/dbg-fix210812
Browse files Browse the repository at this point in the history
[DBG] Fixes needed for 08-12-2300 DBG IB
  • Loading branch information
cmsbuild committed Aug 16, 2021
2 parents bd636b9 + 3de4e2b commit 0e575a9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
4 changes: 0 additions & 4 deletions Calibration/HcalCalibAlgos/test/GammaJetAnalysis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -591,10 +591,6 @@ void GammaJetAnalysis::analyze(const edm::Event& iEvent, const edm::EventSetup&

edm::Ref<reco::PhotonCollection> photonRef(photons, photon_tag.idx());
HERE(Form("got photon ref, photon_tag.idx()=%d", photon_tag.idx()));
#ifdef EDM_ML_DEBUG
edm::LogVerbatim("GammaJetAnalysis")
<< "loosePhotonQual->at(photon_tag.idx())=" << loosePhotonQual->at(photon_tag.idx());
#endif
tagPho_idLoose_ = (loosePhotonQual.isValid()) ? (*loosePhotonQual)[photonRef] : -1;
tagPho_idTight_ = (tightPhotonQual.isValid()) ? (*tightPhotonQual)[photonRef] : -1;
} else {
Expand Down
12 changes: 6 additions & 6 deletions SimG4CMS/Forward/src/ZdcSD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,12 @@ double ZdcSD::getEnergyDeposit(const G4Step* aStep) {
d_qz = th_arcos / twopi;
d_qz = std::abs(d_qz);
#ifdef EDM_ML_DEBUG
edm::LogVerbatim("ForwardSim").testOut << " d_qz: " << r << "," << a << "," << d << " " << tan_arcos << " "
<< arg_arcos;
edm::LogVerbatim("ForwardSim").testOut << "," << arg_arcos;
edm::LogVerbatim("ForwardSim").testOut << " " << d_qz;
edm::LogVerbatim("ForwardSim").testOut << " " << th_arcos;
edm::LogVerbatim("ForwardSim").testOut << "," << d_qz;
edm::LogVerbatim("ForwardSim") << " d_qz: " << r << "," << a << "," << d << " " << tan_arcos << " "
<< arg_arcos;
edm::LogVerbatim("ForwardSim") << "," << arg_arcos;
edm::LogVerbatim("ForwardSim") << " " << d_qz;
edm::LogVerbatim("ForwardSim") << " " << th_arcos;
edm::LogVerbatim("ForwardSim") << "," << d_qz;
#endif
}
}
Expand Down
2 changes: 1 addition & 1 deletion SimG4CMS/Tracker/src/TrackerG4SimHitNumberingScheme.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void TrackerG4SimHitNumberingScheme::touchToNavStory(const G4VTouchable* v,
}
}
#ifdef EDM_ML_DEBUG
LogDebug("TrackerSimDebugNumbering") << " G4 TrackerG4SimHitNumberingScheme " << debugint;
LogDebug("TrackerSimDebugNumbering") << " G4 TrackerG4SimHitNumberingScheme " << debugint.size();
for (u_int32_t jj = 0; jj < debugstring.size(); jj++)
LogDebug("TrackerSimDebugNumbering") << " " << debugstring[jj];
#endif
Expand Down

0 comments on commit 0e575a9

Please sign in to comment.