Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:22:49

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ## configuration to build fast L1 ME0 trigger stubs
0004 ## pseudo pads are created from pseudo digis with 192 strips instead of 384
0005 ## the rechits are a necessary intermediate step before the pseudo pads are used
0006 ## as input to build pseudo stubs
0007 
0008 from SimMuon.GEMDigitizer.muonME0PseudoReDigis_cfi import *
0009 from RecoLocalMuon.GEMRecHit.me0RecHits_cfi import *
0010 from RecoLocalMuon.GEMSegment.me0Segments_cfi import *
0011 from L1Trigger.L1TGEM.me0TriggerConvertedPseudoDigis_cfi import *
0012 
0013 simMuonME0PseudoReDigisCoarse = simMuonME0PseudoReDigis.clone(
0014     usePads = cms.bool(True)
0015 )
0016 me0RecHitsCoarse = me0RecHits.clone(
0017     me0DigiLabel = cms.InputTag("simMuonME0PseudoReDigisCoarse")
0018 )
0019 
0020 me0TriggerPseudoDigis = me0Segments.clone(
0021     me0RecHitLabel = cms.InputTag("me0RecHitsCoarse")
0022 )
0023 ## 1.2 is to make the matching window safely the two nearest strips
0024 ## 0.35 is the size of an ME0 chamber in radians
0025 ## nStrips is divided by 2 since we use 2-strip trigger pads
0026 nStrips = simMuonME0PseudoReDigisCoarse.numberOfStrips.value()//2
0027 maxPhi = 1.2*0.35/nStrips
0028 me0TriggerPseudoDigis.algo_psets[1].algo_pset.maxPhiAdditional = cms.double(maxPhi)
0029 me0TriggerPseudoDigis.algo_psets[1].algo_pset.maxPhiSeeds = cms.double(maxPhi)
0030 
0031 me0TriggerPseudoDigiTask = cms.Task(
0032     simMuonME0PseudoReDigisCoarse,
0033     me0RecHitsCoarse,
0034     me0TriggerPseudoDigis,
0035     ## need to run the standard ME0 RECO sequence for converted triggers
0036     me0RecHits,
0037     me0Segments,
0038     me0TriggerConvertedPseudoDigis
0039 )