Skip to content

Commit

Permalink
PHS: fix for TH2SBitmask (AliceO2Group#1462)
Browse files Browse the repository at this point in the history
  • Loading branch information
sevdokim authored Sep 19, 2022
1 parent d9c12a7 commit dda8c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/PHOS/src/TH2SBitmask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void TH2SBitmask::merge(MergeInterface* const other)
auto otherHisto = dynamic_cast<const TH2SBitmask* const>(other);
if (otherHisto) {
for (unsigned int ix = 1; ix <= this->GetNbinsX(); ix++) {
for (unsigned int iz = 1; iz <= this->GetNbinsZ(); iz++) {
for (unsigned int iz = 1; iz <= this->GetNbinsY(); iz++) {
int cont = this->GetBinContent(ix, iz);
cont |= int(otherHisto->GetBinContent(ix, iz, cont));
}
Expand Down

0 comments on commit dda8c5a

Please sign in to comment.