CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonGEMDigis_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 gemStripValidation = cms.EDAnalyzer('GEMStripDigiValidation',
4  outputFile = cms.string(''),
5  stripLabel= cms.InputTag('simMuonGEMDigis'),
6  simInputLabel = cms.InputTag('g4SimHits',"MuonGEMHits"),
7  nBinGlobalZR = cms.untracked.vdouble(200,200,200,150,180,250),
8  RangeGlobalZR = cms.untracked.vdouble(564,572,786,794,786,802,110,260,170,350,100,350),
9  nBinGlobalXY = cms.untracked.int32(360),
10  detailPlot = cms.bool(False),
11 )
12 gemPadValidation = cms.EDAnalyzer('GEMPadDigiValidation',
13  outputFile = cms.string(''),
14  PadLabel = cms.InputTag('simMuonGEMPadDigis'),
15  simInputLabel = cms.InputTag('g4SimHits',"MuonGEMHits"),
16  nBinGlobalZR = cms.untracked.vdouble(200,200,200,150,180,250),
17  RangeGlobalZR = cms.untracked.vdouble(564,572,786,794,786,802,110,260,170,350,100,350),
18  nBinGlobalXY = cms.untracked.int32(360),
19  detailPlot = cms.bool(False),
20 )
21 gemCoPadValidation = cms.EDAnalyzer('GEMCoPadDigiValidation',
22  outputFile = cms.string(''),
23  CopadLabel = cms.InputTag('simCscTriggerPrimitiveDigis') ,
24  simInputLabel = cms.InputTag('g4SimHits',"MuonGEMHits"),
25  nBinGlobalZR = cms.untracked.vdouble(200,200,200,150,180,250),
26  RangeGlobalZR = cms.untracked.vdouble(564,572,786,794,786,802,110,260,170,350,100,350),
27  nBinGlobalXY = cms.untracked.int32(360),
28  detailPlot = cms.bool(False),
29  minBXGEM = cms.int32(-1),
30  maxBXGEM = cms.int32(1),
31 )
32 
33 gemDigiTrackValidation = cms.EDAnalyzer('GEMDigiTrackMatch',
34  simInputLabel = cms.untracked.string('g4SimHits'),
35  simTrackCollection = cms.InputTag('g4SimHits'),
36  simVertexCollection = cms.InputTag('g4SimHits'),
37  verboseSimHit = cms.untracked.int32(0),
38  # GEM digi matching:
39  verboseGEMDigi = cms.untracked.int32(0),
40  gemDigiInput = cms.InputTag("simMuonGEMDigis"),
41  gemPadDigiInput = cms.InputTag("simMuonGEMPadDigis"),
42  gemCoPadDigiInput = cms.InputTag("simCscTriggerPrimitiveDigis"),
43  minBXGEM = cms.untracked.int32(-1),
44  maxBXGEM = cms.untracked.int32(1),
45  matchDeltaStripGEM = cms.untracked.int32(1),
46  gemMinPt = cms.untracked.double(5.0),
47  gemMinEta = cms.untracked.double(1.55),
48  gemMaxEta = cms.untracked.double(2.45),
49  detailPlot = cms.bool(False),
50 )
51 
52 gemGeometryChecker = cms.EDAnalyzer('GEMCheckGeometry',
53  detailPlot = cms.bool(False),
54 )
55 
56 gemDigiValidation = cms.Sequence( gemStripValidation+gemPadValidation+gemCoPadValidation+gemDigiTrackValidation+gemGeometryChecker)
57 
58 me11tmbSLHCGEM = cms.PSet(
59  mpcBlockMe1a = cms.uint32(0),
60  alctTrigEnable = cms.uint32(0),
61  clctTrigEnable = cms.uint32(0),
62  matchTrigEnable = cms.uint32(1),
63  matchTrigWindowSize = cms.uint32(3),
64  tmbL1aWindowSize = cms.uint32(7),
65  verbosity = cms.int32(0),
66  tmbEarlyTbins = cms.int32(4),
67  tmbReadoutEarliest2 = cms.bool(False),
68  tmbDropUsedAlcts = cms.bool(False),
69  clctToAlct = cms.bool(False),
70  tmbDropUsedClcts = cms.bool(False),
71  matchEarliestAlctME11Only = cms.bool(False),
72  matchEarliestClctME11Only = cms.bool(False),
73  tmbCrossBxAlgorithm = cms.uint32(2),
74  maxME11LCTs = cms.uint32(2),
75 
76  ## run in debug mode
77  debugLUTs = cms.bool(False),
78  debugMatching = cms.bool(False),
79  debugGEMDphi = cms.bool(False),
80 
81  ## use old dataformat
82  useOldLCTDataFormat = cms.bool(True),
83 
84  ## copad construction
85  maxDeltaBXInCoPad = cms.int32(1),
86  maxDeltaPadInCoPad = cms.int32(1),
87 
88  ## matching to pads in case LowQ CLCT
89  maxDeltaBXPadEven = cms.int32(1),
90  maxDeltaBXPadOdd = cms.int32(1),
91  maxDeltaPadPadEven = cms.int32(2),
92  maxDeltaPadPadOdd = cms.int32(3),
93 
94  ## matching to pads in case absent CLCT
95  maxDeltaBXCoPadEven = cms.int32(0),
96  maxDeltaBXCoPadOdd = cms.int32(0),
97  maxDeltaPadCoPadEven = cms.int32(2),
98  maxDeltaPadCoPadOdd = cms.int32(3),
99 
100  ## efficiency recovery switches
101  dropLowQualityCLCTsNoGEMs_ME1a = cms.bool(False),
102  dropLowQualityCLCTsNoGEMs_ME1b = cms.bool(True),
103  dropLowQualityALCTsNoGEMs_ME1a = cms.bool(False),
104  dropLowQualityALCTsNoGEMs_ME1b = cms.bool(False),
105  buildLCTfromALCTandGEM_ME1a = cms.bool(True),
106  buildLCTfromALCTandGEM_ME1b = cms.bool(True),
107  buildLCTfromCLCTandGEM_ME1a = cms.bool(False),
108  buildLCTfromCLCTandGEM_ME1b = cms.bool(False),
109  doLCTGhostBustingWithGEMs = cms.bool(False),
110  correctLCTtimingWithGEM = cms.bool(False),
111  promoteALCTGEMpattern = cms.bool(True),
112  promoteALCTGEMquality = cms.bool(True),
113  promoteCLCTGEMquality_ME1a = cms.bool(True),
114  promoteCLCTGEMquality_ME1b = cms.bool(True),
115 
116  ## rate reduction
117  doGemMatching = cms.bool(True),
118  gemMatchDeltaEta = cms.double(0.08),
119  gemMatchDeltaBX = cms.int32(1),
120  gemMatchDeltaPhiOdd = cms.double(1),
121  gemMatchDeltaPhiEven = cms.double(1),
122  gemMatchMinEta = cms.double(1.55),
123  gemMatchMaxEta = cms.double(2.15),
124  gemClearNomatchLCTs = cms.bool(False),
125 
126  ## cross BX algorithm
127  firstTwoLCTsInChamber = cms.bool(True),
128 )
129 
130 me21tmbSLHCGEM = cms.PSet(
131  mpcBlockMe1a = cms.uint32(0),
132  alctTrigEnable = cms.uint32(0),
133  clctTrigEnable = cms.uint32(0),
134  matchTrigEnable = cms.uint32(1),
135  matchTrigWindowSize = cms.uint32(3),
136  tmbL1aWindowSize = cms.uint32(7),
137  verbosity = cms.int32(0),
138  tmbEarlyTbins = cms.int32(4),
139  tmbReadoutEarliest2 = cms.bool(False),
140  tmbDropUsedAlcts = cms.bool(False),
141  clctToAlct = cms.bool(False),
142  tmbDropUsedClcts = cms.bool(False),
143  matchEarliestAlctME21Only = cms.bool(False),
144  matchEarliestClctME21Only = cms.bool(False),
145  tmbCrossBxAlgorithm = cms.uint32(2),
146  maxME21LCTs = cms.uint32(2),
147 
148  ## run in debug mode
149  debugLUTs = cms.bool(False),
150  debugMatching = cms.bool(False),
151  debugGEMDphi = cms.bool(False),
152 
153  ## use old dataformat
154  useOldLCTDataFormat = cms.bool(True),
155 
156  ## copad construction
157  maxDeltaBXInCoPad = cms.int32(1),
158  maxDeltaPadInCoPad = cms.int32(2),
159 
160  ## matching to pads in case LowQ CLCT
161  maxDeltaBXPad = cms.int32(1),
162  maxDeltaPadPadOdd = cms.int32(4),
163  maxDeltaPadPadEven = cms.int32(3),
164  maxDeltaWg = cms.int32(2),
165 
166  ## matching to pads in case absent CLCT
167  maxDeltaBXCoPad = cms.int32(1),
168  maxDeltaPadCoPad = cms.int32(2),
169 
170  ## efficiency recovery switches
171  dropLowQualityALCTsNoGEMs = cms.bool(False),
172  dropLowQualityCLCTsNoGEMs = cms.bool(True),
173  buildLCTfromALCTandGEM = cms.bool(True),
174  buildLCTfromCLCTandGEM = cms.bool(False),
175  doLCTGhostBustingWithGEMs = cms.bool(False),
176  correctLCTtimingWithGEM = cms.bool(False),
177  promoteALCTGEMpattern = cms.bool(True),
178  promoteALCTGEMquality = cms.bool(True),
179  promoteCLCTGEMquality = cms.bool(True),
180 
181  ## rate reduction
182  doGemMatching = cms.bool(True),
183  gemMatchDeltaEta = cms.double(0.08),
184  gemMatchDeltaBX = cms.int32(1),
185  gemMatchDeltaPhiOdd = cms.double(1),
186  gemMatchDeltaPhiEven = cms.double(1),
187  gemMatchMinEta = cms.double(1.5),
188  gemMatchMaxEta = cms.double(2.45),
189  gemClearNomatchLCTs = cms.bool(False),
190 
191  firstTwoLCTsInChamber = cms.bool(True),
192  )