CMS 3D CMS Logo

me0TriggerPseudoDigis_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ## configuration to build fast L1 ME0 trigger stubs
4 ## pseudo pads are created from pseudo digis with 192 strips instead of 384
5 ## the rechits are a necessary intermediate step before the pseudo pads are used
6 ## as input to build pseudo stubs
7 
11 
12 simMuonME0PseudoReDigisCoarse = simMuonME0PseudoReDigis.clone(
13  usePads = cms.bool(True)
14 )
15 me0RecHitsCoarse = me0RecHits.clone(
16  me0DigiLabel = cms.InputTag("simMuonME0PseudoReDigisCoarse")
17 )
18 
19 me0TriggerPseudoDigis = me0Segments.clone(
20  me0RecHitLabel = cms.InputTag("me0RecHitsCoarse")
21 )
22 ## 1.2 is to make the matching window safely the two nearest strips
23 ## 0.35 is the size of an ME0 chamber in radians
24 ## nStrips is divided by 2 since we use 2-strip trigger pads
25 nStrips = simMuonME0PseudoReDigisCoarse.numberOfStrips.value()/2
26 maxPhi = 1.2*0.35/nStrips
27 me0TriggerPseudoDigis.algo_psets[1].algo_pset.maxPhiAdditional = cms.double(maxPhi)
28 me0TriggerPseudoDigis.algo_psets[1].algo_pset.maxPhiSeeds = cms.double(maxPhi)
29 
30 me0TriggerPseudoDigiSequence = cms.Sequence(
31  simMuonME0PseudoReDigisCoarse *
32  me0RecHitsCoarse *
33  me0TriggerPseudoDigis
34 )
configuration to build fast L1 ME0 trigger stubs pseudo pads are created from pseudo digis with 192 s...