Skip to content

Commit

Permalink
Fix bug in defining edges of TH2F in MESetEcal
Browse files Browse the repository at this point in the history
  • Loading branch information
abhih1 committed Sep 25, 2023
1 parent 990f79f commit 766f0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DQM/EcalCommon/src/MESetEcal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ namespace ecaldqm {
} else {
binning::AxisSpecs *specs[] = {&xaxis, &yaxis};
for (int iSpec(0); iSpec < 2; iSpec++) {
if (!specs[iSpec]->edges.empty()) {
if (specs[iSpec]->edges.empty()) {
specs[iSpec]->edges = std::vector<float>(specs[iSpec]->nbins + 1);
int nbins(specs[iSpec]->nbins);
double low(specs[iSpec]->low), high(specs[iSpec]->high);
Expand Down

0 comments on commit 766f0ca

Please sign in to comment.