Skip to content

Commit

Permalink
Fix size of arrays to store new HG thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
dmeuser committed Jun 14, 2022
1 parent 6f64b14 commit c597a1d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions Alignment/MillePedeAlignmentAlgorithm/plugins/MillePedeDQMModule.cc
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,14 @@ void MillePedeDQMModule ::fillStatusHisto(MonitorElement* statusHisto) {
}

void MillePedeDQMModule ::fillExpertHistos() {
std::array<double, 6> Xcut_, sigXcut_, maxMoveXcut_, maxErrorXcut_;
std::array<double, 6> tXcut_, sigtXcut_, maxMovetXcut_, maxErrortXcut_;
std::array<double, 8> Xcut_, sigXcut_, maxMoveXcut_, maxErrorXcut_;
std::array<double, 8> tXcut_, sigtXcut_, maxMovetXcut_, maxErrortXcut_;

std::array<double, 6> Ycut_, sigYcut_, maxMoveYcut_, maxErrorYcut_;
std::array<double, 6> tYcut_, sigtYcut_, maxMovetYcut_, maxErrortYcut_;
std::array<double, 8> Ycut_, sigYcut_, maxMoveYcut_, maxErrorYcut_;
std::array<double, 8> tYcut_, sigtYcut_, maxMovetYcut_, maxErrortYcut_;

std::array<double, 6> Zcut_, sigZcut_, maxMoveZcut_, maxErrorZcut_;
std::array<double, 6> tZcut_, sigtZcut_, maxMovetZcut_, maxErrortZcut_;
std::array<double, 8> Zcut_, sigZcut_, maxMoveZcut_, maxErrorZcut_;
std::array<double, 8> tZcut_, sigtZcut_, maxMovetZcut_, maxErrortZcut_;

auto myMap = mpReader_->getThresholdMap();

Expand Down Expand Up @@ -196,10 +196,10 @@ void MillePedeDQMModule ::fillExpertHistos() {
}

void MillePedeDQMModule ::fillExpertHisto(MonitorElement* histo,
const std::array<double, 6>& cut,
const std::array<double, 6>& sigCut,
const std::array<double, 6>& maxMoveCut,
const std::array<double, 6>& maxErrorCut,
const std::array<double, 8>& cut,
const std::array<double, 8>& sigCut,
const std::array<double, 8>& maxMoveCut,
const std::array<double, 8>& maxErrorCut,
const std::array<double, 6>& obs,
const std::array<double, 6>& obsErr) {
TH1F* histo_0 = histo->getTH1F();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ class MillePedeDQMModule : public DQMEDHarvester {
void fillExpertHistos();

void fillExpertHisto(MonitorElement* histo,
const std::array<double, 6>& cut,
const std::array<double, 6>& sigCut,
const std::array<double, 6>& maxMoveCut,
const std::array<double, 6>& maxErrorCut,
const std::array<double, 8>& cut,
const std::array<double, 8>& sigCut,
const std::array<double, 8>& maxMoveCut,
const std::array<double, 8>& maxErrorCut,
const std::array<double, 6>& obs,
const std::array<double, 6>& obsErr);

Expand Down

0 comments on commit c597a1d

Please sign in to comment.