From 8df2f6a0f3ac19cf0cc2f44cfaa739fe2f9943cc Mon Sep 17 00:00:00 2001 From: Sunanda Date: Sat, 21 Dec 2024 08:04:10 +0100 Subject: [PATCH] Code check --- Calibration/HcalCalibAlgos/macros/CalibCorr.C | 6 ++++-- Calibration/HcalCalibAlgos/plugins/HcalIsoTrkAnalyzer.cc | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Calibration/HcalCalibAlgos/macros/CalibCorr.C b/Calibration/HcalCalibAlgos/macros/CalibCorr.C index 2d43bb67a7b52..65d7006880dd5 100644 --- a/Calibration/HcalCalibAlgos/macros/CalibCorr.C +++ b/Calibration/HcalCalibAlgos/macros/CalibCorr.C @@ -1305,7 +1305,8 @@ bool CalibSelectRBX::isItRBX(const int ieta, const int iphi) { return ok; } -CalibDuplicate::CalibDuplicate(const char* fname, int flag, bool debug) : flag_(flag), nocc_(0), debug_(debug), ok_(false) { +CalibDuplicate::CalibDuplicate(const char* fname, int flag, bool debug) + : flag_(flag), nocc_(0), debug_(debug), ok_(false) { std::cout << "CalibDuplicate called with Flag " << flag_ << " i/p file " << fname << std::endl; if (flag_ == 0) { if (strcmp(fname, "") != 0) { @@ -1459,7 +1460,8 @@ double CalibDuplicate::getCorr(int run, int ieta, int depth) { corr = (itr->second)[irun]; } if (debug_ && (nocc_ < 1000)) - std::cout << "Run " << run << " ieta:depth " << ieta << ":" << depth << " found " << (itr == corrs_.end()) << " Corr " << corr << std::endl; + std::cout << "Run " << run << " ieta:depth " << ieta << ":" << depth << " found " << (itr == corrs_.end()) + << " Corr " << corr << std::endl; return corr; } diff --git a/Calibration/HcalCalibAlgos/plugins/HcalIsoTrkAnalyzer.cc b/Calibration/HcalCalibAlgos/plugins/HcalIsoTrkAnalyzer.cc index 59694a5e2749b..06811935c5d9a 100644 --- a/Calibration/HcalCalibAlgos/plugins/HcalIsoTrkAnalyzer.cc +++ b/Calibration/HcalCalibAlgos/plugins/HcalIsoTrkAnalyzer.cc @@ -1313,7 +1313,7 @@ std::array HcalIsoTrkAnalyzer::fillTree(std::vectorFill(); edm::LogVerbatim("HcalIsoTrackX") << "Run " << t_RunNo << " Event " << t_EventNo << " Track " << nTracks << " p " << t_p; @@ -1443,7 +1443,7 @@ void HcalIsoTrkAnalyzer::storeEnergy(int indx, for (unsigned int k = 0; k < ids.size(); ++k) { double corr = (respCorrs_->getValues(ids[k]))->getValue(); if (count_ <= 1) - edm::LogVerbatim("HcalIsoTrack") << "Correction Factor for " << HcalDetId(ids[k]) << " " << corr; + edm::LogVerbatim("HcalIsoTrack") << "Correction Factor for " << HcalDetId(ids[k]) << " " << corr; if (corr != 0) edet[k] /= corr; ehcal += edet[k];