Skip to content

Commit

Permalink
Merge pull request #40822 from dinyar/fix/ugt_version_w_showers
Browse files Browse the repository at this point in the history
Fix expected version number of uGT with muon shower support
  • Loading branch information
cmsbuild authored Feb 21, 2023
2 parents c4ef76a + 8380096 commit 7ed713b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions EventFilter/L1TRawToDigi/python/gtStage2Raw_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
JetInputTag = cms.InputTag("simCaloStage2Digis"),
EtSumInputTag = cms.InputTag("simCaloStage2Digis"),
FedId = cms.int32(1404),
FWId = cms.uint32(0x1130), # FW w/ displaced muon info.
FWId = cms.uint32(0x113b), # FW w/ displaced muon info and hadronic showers.
lenSlinkHeader = cms.untracked.int32(8),
lenSlinkTrailer = cms.untracked.int32(8)
)
Expand All @@ -32,4 +32,4 @@

### Era: Run3_2021
from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021
stage2L1Trigger_2021.toModify(gtStage2Raw, FWId = cms.uint32(0x10f01)) # FW w/ displaced muon info and hadronic showers.
stage2L1Trigger_2021.toModify(gtStage2Raw, FWId = cms.uint32(0x113b)) # FW w/ displaced muon info and hadronic showers.
2 changes: 1 addition & 1 deletion L1Trigger/L1TMuon/src/MuonRawDigiTranslator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ void l1t::MuonRawDigiTranslator::generate64bitDataWord(
}

bool l1t::MuonRawDigiTranslator::showerFired(uint32_t shower_word, int fedId, unsigned int fwId) {
if ((fedId == 1402 && fwId >= 0x7000000) || (fedId == 1404 && fwId >= 0x00010f01)) {
if ((fedId == 1402 && fwId >= 0x7000000) || (fedId == 1404 && fwId >= 0x113b)) {
return ((shower_word >> showerShift_) & 1) == 1;
}
return false;
Expand Down

0 comments on commit 7ed713b

Please sign in to comment.