CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
12 
13 simMuonME0PseudoReDigisCoarse = simMuonME0PseudoReDigis.clone(
14  usePads = cms.bool(True)
15 )
16 me0RecHitsCoarse = me0RecHits.clone(
17  me0DigiLabel = cms.InputTag("simMuonME0PseudoReDigisCoarse")
18 )
19 
20 me0TriggerPseudoDigis = me0Segments.clone(
21  me0RecHitLabel = cms.InputTag("me0RecHitsCoarse")
22 )
23 ## 1.2 is to make the matching window safely the two nearest strips
24 ## 0.35 is the size of an ME0 chamber in radians
25 ## nStrips is divided by 2 since we use 2-strip trigger pads
26 nStrips = simMuonME0PseudoReDigisCoarse.numberOfStrips.value()//2
27 maxPhi = 1.2*0.35/nStrips
28 me0TriggerPseudoDigis.algo_psets[1].algo_pset.maxPhiAdditional = cms.double(maxPhi)
29 me0TriggerPseudoDigis.algo_psets[1].algo_pset.maxPhiSeeds = cms.double(maxPhi)
30 
31 me0TriggerPseudoDigiTask = cms.Task(
32  simMuonME0PseudoReDigisCoarse,
33  me0RecHitsCoarse,
34  me0TriggerPseudoDigis,
35  ## need to run the standard ME0 RECO sequence for converted triggers
36  me0RecHits,
37  me0Segments,
38  me0TriggerConvertedPseudoDigis
39 )
configuration to build fast L1 ME0 trigger stubs pseudo pads are created from pseudo digis with 192 s...