Skip to content

Commit

Permalink
upgrade's comments
Browse files Browse the repository at this point in the history
(cherry picked from commit b07a309)
  • Loading branch information
ccaillol committed Sep 30, 2022
1 parent c2cd223 commit e4b0c83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,12 @@ void l1ct::multififo_regionizer::RegionBuffer<T>::initFifos(unsigned int nfifos)
for (auto& t : queues_.back().second)
t.clear();
}
if (!(nfifos == 1 || nfifos == 2 || nfifos == 3 || nfifos == 4 || nfifos == 6 || nfifos == 8 || nfifos == 12)) {
bool isGood =
(nfifos == 1 || nfifos == 2 || nfifos == 3 || nfifos == 4 || nfifos == 6 || nfifos == 8 || nfifos == 12);
if (!isGood) {
dbgCerr() << "Error, created regionizer for nfifos == " << nfifos << ", not supported." << std::endl;
}
assert(nfifos == 1 || nfifos == 2 || nfifos == 3 || nfifos == 4 || nfifos == 6 || nfifos == 8 || nfifos == 12);
assert(isGood);
}

template <typename T>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class L1TCorrelatorLayer1Producer : public edm::stream::EDProducer<> {
const std::string regionDumpName_;
bool writeRawHgcalCluster_;
std::fstream fRegionDump_;
std::vector<edm::ParameterSet> patternWriterConfigs_;
const std::vector<edm::ParameterSet> patternWriterConfigs_;
std::vector<std::unique_ptr<L1TCorrelatorLayer1PatternFileWriter>> patternWriters_;

// region of interest debugging
Expand Down

0 comments on commit e4b0c83

Please sign in to comment.