Skip to content

Commit

Permalink
Update RegionalMuonCand unpackers for displaced info from EMTF
Browse files Browse the repository at this point in the history
  • Loading branch information
dinyar committed Mar 10, 2021
1 parent 9083527 commit e132f66
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ namespace l1t {
auto gmt_in_unp = static_pointer_cast<l1t::stage2::RegionalMuonGMTUnpacker>(
UnpackerFactory::get()->make("stage2::RegionalMuonGMTUnpacker"));
if (fw >= 0x6000000) {
gmt_in_unp->setKalmanAlgoTrue();
gmt_in_unp->setIsRun3();
}

for (int iLink = 72; iLink < 144; iLink += 2) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ namespace l1t {
RegionalMuonCand mu;

RegionalMuonRawDigiTranslator::fillRegionalMuonCand(
mu, raw_data_00_31, raw_data_32_63, processor, trackFinder, isKalman_);
mu, raw_data_00_31, raw_data_32_63, processor, trackFinder, isRun3_);

LogDebug("L1T") << "Mu" << nWord / 2 << ": eta " << mu.hwEta() << " phi " << mu.hwPhi() << " pT "
<< mu.hwPt() << " qual " << mu.hwQual() << " sign " << mu.hwSign() << " sign valid "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ namespace l1t {
class RegionalMuonGMTUnpacker : public Unpacker {
public:
bool unpack(const Block& block, UnpackerCollections* coll) override;
void setKalmanAlgoTrue() { isKalman_ = true; }
void setIsRun3() { isRun3_ = true; }

private:
static constexpr unsigned nWords_ = 6; // every link transmits 6 words (3 muons) per bx
static constexpr unsigned bxzs_enable_shift_ = 1;

bool isKalman_{false};
bool isRun3_{false};
};
} // namespace stage2
} // namespace l1t
Expand Down

0 comments on commit e132f66

Please sign in to comment.