Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
skinnari committed Jun 28, 2021
1 parent f00b12b commit 986a71d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion L1Trigger/TrackFindingTracklet/interface/Util.h
Expand Up @@ -94,7 +94,7 @@ namespace trklet {
hexword = "1110";
else if (word == 'F')
hexword = "1111";
else if (hexword.empty()) {
else {
throw cms::Exception("Inconsistency")
<< __FILE__ << " " << __LINE__ << " hex string format invalid: " << stubwordhex;
}
Expand Down
6 changes: 3 additions & 3 deletions L1Trigger/TrackFindingTracklet/src/MatchEngine.cc
Expand Up @@ -262,9 +262,9 @@ void MatchEngine::execute() {
}

if (print) {
cout << "istep index : " << istep << " " << index << " " << vmstub.bend().value()
<< " rzbin istubtmp : " << rzbin << " " << istubtmp << " dz " << stubfinerz << " " << projfinerzadj
<< " dphi: " << deltaphi << endl;
edm::LogVerbatim("Tracklet") << "istep index : " << istep << " " << index << " " << vmstub.bend().value()
<< " rzbin istubtmp : " << rzbin << " " << istubtmp << " dz " << stubfinerz << " "
<< projfinerzadj << " dphi: " << deltaphi;
}

//Check if stub bend and proj rinv consistent
Expand Down
12 changes: 7 additions & 5 deletions L1Trigger/TrackFindingTracklet/src/MatchEngineUnit.cc
Expand Up @@ -141,11 +141,13 @@ void MatchEngineUnit::step(bool) {
}

// Detailed printout for comparison with HLS code
//if (print)
// cout << "MEU TrkId stubindex : " << 128 * proj_->TCIndex() + proj_->trackletIndex() << " "
// << vmstub.stubindex().value() << " " << ((pass && dphicut) && luttable_.lookup(index)) << " index=" << index
// << " projrinv bend : " << projrinv_ << " " << vmstub.bend().value() << " shift_ isPSseed_ :" << shift_ << " "
// << isPSseed_ << " slot=" << slot << endl;
bool print = false;
if (print)
edm::LogVerbatim("Tracklet") << "MEU TrkId stubindex : " << 128 * proj_->TCIndex() + proj_->trackletIndex() << " "
<< vmstub.stubindex().value() << " "
<< ((pass && dphicut) && luttable_.lookup(index)) << " index=" << index
<< " projrinv bend : " << projrinv_ << " " << vmstub.bend().value()
<< " shift_ isPSseed_ :" << shift_ << " " << isPSseed_ << " slot=" << slot;

//Check if stub bend and proj rinv consistent

Expand Down

0 comments on commit 986a71d

Please sign in to comment.