Skip to content

Commit

Permalink
Moved layer ID and valid bit to end to be consistent with DTC emulati…
Browse files Browse the repository at this point in the history
…on. (#48)
  • Loading branch information
aehart authored and skinnari committed Dec 22, 2020
1 parent 7a61376 commit 39a9c39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ void TrackletEventProcessor::event(SLHCEvent& ev) {
assert(layerdiskcode < 4);
FPGAWord ldcode;
ldcode.set(layerdiskcode, 2);
string dataword = "1|" + ldcode.str() + "|" + fpgastub.str();
string dataword = fpgastub.str() + "|" + ldcode.str() + "|1";
if (topbit == 0) {
(*dtcstubs[dtcbase + "A"]) << dataword << " " << trklet::hexFormat(dataword) << endl;
} else {
Expand Down

0 comments on commit 39a9c39

Please sign in to comment.