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

CondFormats: fix warning message about "skipping this put" #36535

Merged
merged 1 commit into from
Dec 17, 2021
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions CondFormats/SiPixelObjects/src/SiPixelDynamicInefficiency.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ bool SiPixelDynamicInefficiency::putPixelGeomFactor(const uint32_t& detid, doubl
std::map<unsigned int, double>::const_iterator id = m_PixelGeomFactors.find(detid);
if (id != m_PixelGeomFactors.end()) {
edm::LogError("SiPixelDynamicInefficiency") << "SiPixelDynamicInefficiency PixelGeomFactor for DetID " << detid
<< " is already stored. Skippig this put" << std::endl;
<< " is already stored. Skipping this put" << std::endl;
return false;
} else
m_PixelGeomFactors[detid] = value;
Expand All @@ -29,7 +29,7 @@ bool SiPixelDynamicInefficiency::putColGeomFactor(const uint32_t& detid, double&
std::map<unsigned int, double>::const_iterator id = m_ColGeomFactors.find(detid);
if (id != m_ColGeomFactors.end()) {
edm::LogError("SiPixelDynamicInefficiency") << "SiPixelDynamicInefficiency ColGeomFactor for DetID " << detid
<< " is already stored. Skippig this put" << std::endl;
<< " is already stored. Skipping this put" << std::endl;
return false;
} else
m_ColGeomFactors[detid] = value;
Expand All @@ -51,7 +51,7 @@ bool SiPixelDynamicInefficiency::putChipGeomFactor(const uint32_t& detid, double
std::map<unsigned int, double>::const_iterator id = m_ChipGeomFactors.find(detid);
if (id != m_ChipGeomFactors.end()) {
edm::LogError("SiPixelDynamicInefficiency") << "SiPixelDynamicInefficiency ChipGeomFactor for DetID " << detid
<< " is already stored. Skippig this put" << std::endl;
<< " is already stored. Skipping this put" << std::endl;
return false;
} else
m_ChipGeomFactors[detid] = value;
Expand All @@ -73,7 +73,7 @@ bool SiPixelDynamicInefficiency::putPUFactor(const uint32_t& detid, std::vector<
std::map<unsigned int, std::vector<double> >::const_iterator id = m_PUFactors.find(detid);
if (id != m_PUFactors.end()) {
edm::LogError("SiPixelDynamicInefficiency") << "SiPixelDynamicInefficiency PUFactor for DetID " << detid
<< " is already stored. Skippig this put" << std::endl;
<< " is already stored. Skipping this put" << std::endl;
return false;
} else
m_PUFactors[detid] = v_value;
Expand Down Expand Up @@ -111,7 +111,7 @@ uint32_t SiPixelDynamicInefficiency::getDetIdmask(unsigned int& i) const {
bool SiPixelDynamicInefficiency::puttheInstLumiScaleFactor(double& theInstLumiScaleFactor) {
if (theInstLumiScaleFactor_ != -9999) {
edm::LogError("SiPixelDynamicInefficiency")
<< "SiPixelDynamicInefficiency theInstLumiScaleFactor is already stored! Skippig this put!" << std::endl;
<< "SiPixelDynamicInefficiency theInstLumiScaleFactor is already stored! Skipping this put!" << std::endl;
return false;
} else {
theInstLumiScaleFactor_ = theInstLumiScaleFactor;
Expand Down
2 changes: 1 addition & 1 deletion CondFormats/SiPixelObjects/src/SiPixelLorentzAngle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bool SiPixelLorentzAngle::putLorentzAngle(const uint32_t& detid, float& value) {
std::map<unsigned int, float>::const_iterator id = m_LA.find(detid);
if (id != m_LA.end()) {
edm::LogError("SiPixelLorentzAngle") << "SiPixelLorentzAngle for DetID " << detid
<< " is already stored. Skippig this put" << std::endl;
<< " is already stored. Skipping this put" << std::endl;
return false;
} else
m_LA[detid] = value;
Expand Down
2 changes: 1 addition & 1 deletion CondFormats/SiPixelObjects/src/SiPixelVCal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
bool SiPixelVCal::putSlopeAndOffset(const uint32_t& pixid, float& slopeValue, float& offsetValue) {
std::map<unsigned int, VCal>::const_iterator id = m_vcal.find(pixid);
if (id != m_vcal.end()) {
edm::LogError("SiPixelVCal") << "SiPixelVCal for pixid " << pixid << " is already stored. Skippig this put"
edm::LogError("SiPixelVCal") << "SiPixelVCal for pixid " << pixid << " is already stored. Skipping this put"
<< std::endl;
return false;
} else {
Expand Down
2 changes: 1 addition & 1 deletion CondFormats/SiStripObjects/src/SiStripApvGain.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ bool SiStripApvGain::put(const uint32_t& DetId, Range input) {
RegistryIterator p = std::lower_bound(v_detids.begin(), v_detids.end(), DetId);
if (p != v_detids.end() && *p == DetId) {
edm::LogError("SiStripApvGain") << "[" << __PRETTY_FUNCTION__ << "] SiStripApvGain for DetID " << DetId
<< " is already stored. Skippig this put" << std::endl;
<< " is already stored. Skipping this put" << std::endl;
return false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ bool SiStripBackPlaneCorrection::putBackPlaneCorrection(const uint32_t& detid, f
std::map<unsigned int, float>::const_iterator id = m_BPC.find(detid);
if (id != m_BPC.end()) {
edm::LogError("SiStripBackPlaneCorrection")
<< "SiStripBackPlaneCorrection for DetID " << detid << " is already stored. Skippig this put" << std::endl;
<< "SiStripBackPlaneCorrection for DetID " << detid << " is already stored. Skipping this put" << std::endl;
return false;
} else
m_BPC[detid] = value;
Expand Down
2 changes: 1 addition & 1 deletion CondFormats/SiStripObjects/src/SiStripBadStrip.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bool SiStripBadStrip::put(const uint32_t& DetId, Range input) {
Registry::iterator p = std::lower_bound(indexes.begin(), indexes.end(), DetId, SiStripBadStrip::StrictWeakOrdering());
if (p != indexes.end() && p->detid == DetId) {
edm::LogError("SiStripBadStrip") << "[" << __PRETTY_FUNCTION__ << "] SiStripBadStrip for DetID " << DetId
<< " is already stored. Skippig this put" << std::endl;
<< " is already stored. Skipping this put" << std::endl;
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion CondFormats/SiStripObjects/src/SiStripLorentzAngle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ bool SiStripLorentzAngle::putLorentzAngle(const uint32_t& detid, float value) {
std::map<unsigned int, float>::const_iterator id = m_LA.find(detid);
if (id != m_LA.end()) {
edm::LogError("SiStripLorentzAngle") << "SiStripLorentzAngle for DetID " << detid
<< " is already stored. Skippig this put" << std::endl;
<< " is already stored. Skipping this put" << std::endl;
return false;
} else
m_LA[detid] = value;
Expand Down
2 changes: 1 addition & 1 deletion CondFormats/SiStripObjects/src/SiStripThreshold.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ bool SiStripThreshold::put(const uint32_t& DetId, const InputVector& _vect) {
std::lower_bound(indexes.begin(), indexes.end(), DetId, SiStripThreshold::StrictWeakOrdering());
if (p != indexes.end() && p->detid == DetId) {
edm::LogError("SiStripThreshold") << "[" << __PRETTY_FUNCTION__ << "] SiStripThreshold for DetID " << DetId
<< " is already stored. Skippig this put" << std::endl;
<< " is already stored. Skipping this put" << std::endl;
return false;
}

Expand Down