Skip to content

Commit

Permalink
Merge pull request #42362 from CTPPS/jc_lhcInfo_popCons_comparePayloa…
Browse files Browse the repository at this point in the history
…ds_fix_BACKPORT_13_1

[13_1_X] fixed comparePayloads in LHInfo* PopCons
  • Loading branch information
cmsbuild authored Jul 29, 2023
2 parents 8a9bdb3 + d1570e8 commit f9dd0ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CondTools/RunInfo/plugins/LHCInfoPerFillPopConAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ namespace theLHCInfoPerFillImpl {
bool comparePayloads(const LHCInfoPerFill& rhs, const LHCInfoPerFill& lhs) {
if (rhs.fillNumber() != lhs.fillNumber() || rhs.delivLumi() != lhs.delivLumi() || rhs.recLumi() != lhs.recLumi() ||
rhs.instLumi() != lhs.instLumi() || rhs.instLumiError() != lhs.instLumiError() ||
rhs.lhcState() != rhs.lhcState() || rhs.lhcComment() != rhs.lhcComment() ||
rhs.ctppsStatus() != rhs.ctppsStatus()) {
rhs.lhcState() != lhs.lhcState() || rhs.lhcComment() != lhs.lhcComment() ||
rhs.ctppsStatus() != lhs.ctppsStatus()) {
return false;
}
return true;
Expand Down
10 changes: 5 additions & 5 deletions CondTools/RunInfo/src/LHCInfoPopConSourceHandler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -562,15 +562,15 @@ namespace LHCInfoImpl {
return false;
if (rhs.instLumiError() != lhs.instLumiError())
return false;
if (rhs.crossingAngle() != rhs.crossingAngle())
if (rhs.crossingAngle() != lhs.crossingAngle())
return false;
if (rhs.betaStar() != rhs.betaStar())
if (rhs.betaStar() != lhs.betaStar())
return false;
if (rhs.lhcState() != rhs.lhcState())
if (rhs.lhcState() != lhs.lhcState())
return false;
if (rhs.lhcComment() != rhs.lhcComment())
if (rhs.lhcComment() != lhs.lhcComment())
return false;
if (rhs.ctppsStatus() != rhs.ctppsStatus())
if (rhs.ctppsStatus() != lhs.ctppsStatus())
return false;
return true;
}
Expand Down

0 comments on commit f9dd0ac

Please sign in to comment.