CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
cscTriggerPrimitiveDigis_cfi Namespace Reference

Functions

def _modifyCscTriggerPrimitiveDigisForRun2
 
def _modifyCscTriggerPrimitiveDigisForRun2GE11
 
def _modifyCscTriggerPrimitiveDigisForRun4GE21
 
def _modifyCscTriggerPrimitiveDigisForRun4RPC
 

Variables

tuple cscTriggerPrimitiveDigis
 

Function Documentation

def cscTriggerPrimitiveDigis_cfi._modifyCscTriggerPrimitiveDigisForRun2 (   object)
private
Modifies cscTriggerPrimitiveDigis for Run 2

Definition at line 8 of file cscTriggerPrimitiveDigis_cfi.py.

8 
10  """
11  Modifies cscTriggerPrimitiveDigis for Run 2
12  """
13  object.debugParameters = True
14  object.checkBadChambers = False
15  object.commonParam.gangedME1a = False
16 
def cscTriggerPrimitiveDigis_cfi._modifyCscTriggerPrimitiveDigisForRun2GE11 (   object)
private
Modifies cscTriggerPrimitiveDigis for Run 2 + GEMs

Definition at line 17 of file cscTriggerPrimitiveDigis_cfi.py.

17 
19  """
20  Modifies cscTriggerPrimitiveDigis for Run 2 + GEMs
21  """
22  object.GEMPadDigiProducer = "simMuonGEMPadDigis"
23  object.commonParam.runME11ILT = cms.bool(False)
24  object.clctSLHC.clctNplanesHitPattern = 3
25  object.clctSLHC.clctPidThreshPretrig = 2
26 
27  # to be used by ME11 chambers with GEM-CSC ILT
28  me11tmbSLHCGEM = cms.PSet(
29  mpcBlockMe1a = cms.uint32(0),
30  alctTrigEnable = cms.uint32(0),
31  clctTrigEnable = cms.uint32(0),
32  matchTrigEnable = cms.uint32(1),
33  matchTrigWindowSize = cms.uint32(3),
34  tmbL1aWindowSize = cms.uint32(7),
35  verbosity = cms.int32(0),
36  tmbEarlyTbins = cms.int32(4),
37  tmbReadoutEarliest2 = cms.bool(False),
38  tmbDropUsedAlcts = cms.bool(False),
39  clctToAlct = cms.bool(False),
40  tmbDropUsedClcts = cms.bool(False),
41  matchEarliestAlctME11Only = cms.bool(False),
42  matchEarliestClctME11Only = cms.bool(False),
43  tmbCrossBxAlgorithm = cms.uint32(2),
44  maxME11LCTs = cms.uint32(2),
45 
46  ## run in debug mode
47  debugLUTs = cms.bool(False),
48  debugMatching = cms.bool(False),
49  debugGEMDphi = cms.bool(False),
50 
51  ## use old dataformat
52  useOldLCTDataFormat = cms.bool(True),
53 
54  ## copad construction
55  maxDeltaBXInCoPad = cms.int32(1),
56  maxDeltaPadInCoPad = cms.int32(1),
57 
58  ## matching to pads in case LowQ CLCT
59  maxDeltaBXPadEven = cms.int32(1),
60  maxDeltaBXPadOdd = cms.int32(1),
61  maxDeltaPadPadEven = cms.int32(2),
62  maxDeltaPadPadOdd = cms.int32(3),
63 
64  ## matching to pads in case absent CLCT
65  maxDeltaBXCoPadEven = cms.int32(0),
66  maxDeltaBXCoPadOdd = cms.int32(0),
67  maxDeltaPadCoPadEven = cms.int32(2),
68  maxDeltaPadCoPadOdd = cms.int32(3),
69 
70  ## efficiency recovery switches
71  dropLowQualityCLCTsNoGEMs_ME1a = cms.bool(False),
72  dropLowQualityCLCTsNoGEMs_ME1b = cms.bool(True),
73  dropLowQualityALCTsNoGEMs_ME1a = cms.bool(False),
74  dropLowQualityALCTsNoGEMs_ME1b = cms.bool(False),
75  buildLCTfromALCTandGEM_ME1a = cms.bool(True),
76  buildLCTfromALCTandGEM_ME1b = cms.bool(True),
77  buildLCTfromCLCTandGEM_ME1a = cms.bool(False),
78  buildLCTfromCLCTandGEM_ME1b = cms.bool(False),
79  doLCTGhostBustingWithGEMs = cms.bool(False),
80  correctLCTtimingWithGEM = cms.bool(False),
81  promoteALCTGEMpattern = cms.bool(True),
82  promoteALCTGEMquality = cms.bool(True),
83  promoteCLCTGEMquality_ME1a = cms.bool(True),
84  promoteCLCTGEMquality_ME1b = cms.bool(True),
85 
86  ## rate reduction
87  doGemMatching = cms.bool(True),
88  gemMatchDeltaEta = cms.double(0.08),
89  gemMatchDeltaBX = cms.int32(1),
90  gemMatchDeltaPhiOdd = cms.double(1),
91  gemMatchDeltaPhiEven = cms.double(1),
92  gemMatchMinEta = cms.double(1.55),
93  gemMatchMaxEta = cms.double(2.15),
94  gemClearNomatchLCTs = cms.bool(False),
95 
96  ## cross BX algorithm
97  firstTwoLCTsInChamber = cms.bool(True),
98  )
99 
100  object.me11tmbSLHCGEM = me11tmbSLHCGEM
def cscTriggerPrimitiveDigis_cfi._modifyCscTriggerPrimitiveDigisForRun4GE21 (   object)
private
Modifies cscTriggerPrimitiveDigis for Run 4 + GEMs

Definition at line 101 of file cscTriggerPrimitiveDigis_cfi.py.

103  """
104  Modifies cscTriggerPrimitiveDigis for Run 4 + GEMs
105  """
106  object.commonParam.runME21ILT = cms.bool(False)
107  object.clctSLHCME21 = object.clctSLHC.clone()
108  object.alctSLHCME21 = object.alctSLHC.clone()
109  object.alctSLHCME21.alctNplanesHitPattern = 3
110  object.alctSLHCME21.clctNplanesHitPattern = 3
111  object.alctSLHCME21.clctPidThreshPretrig = 2
112 
113  # to be used by ME21 chambers with GEM-CSC ILT
114  me21tmbSLHCGEM = cms.PSet(
115  mpcBlockMe1a = cms.uint32(0),
116  alctTrigEnable = cms.uint32(0),
117  clctTrigEnable = cms.uint32(0),
118  matchTrigEnable = cms.uint32(1),
119  matchTrigWindowSize = cms.uint32(3),
120  tmbL1aWindowSize = cms.uint32(7),
121  verbosity = cms.int32(0),
122  tmbEarlyTbins = cms.int32(4),
123  tmbReadoutEarliest2 = cms.bool(False),
124  tmbDropUsedAlcts = cms.bool(False),
125  clctToAlct = cms.bool(False),
126  tmbDropUsedClcts = cms.bool(False),
127  matchEarliestAlctME21Only = cms.bool(False),
128  matchEarliestClctME21Only = cms.bool(False),
129  tmbCrossBxAlgorithm = cms.uint32(2),
130  maxME21LCTs = cms.uint32(2),
131 
132  ## run in debug mode
133  debugLUTs = cms.bool(False),
134  debugMatching = cms.bool(False),
135  debugGEMDphi = cms.bool(False),
136 
137  ## use old dataformat
138  useOldLCTDataFormat = cms.bool(True),
139 
140  ## copad construction
141  maxDeltaBXInCoPad = cms.int32(1),
142  maxDeltaPadInCoPad = cms.int32(2),
143 
144  ## matching to pads in case LowQ CLCT
145  maxDeltaBXPad = cms.int32(1),
146  maxDeltaPadPadOdd = cms.int32(4),
147  maxDeltaPadPadEven = cms.int32(3),
148  maxDeltaWg = cms.int32(2),
149 
150  ## matching to pads in case absent CLCT
151  maxDeltaBXCoPad = cms.int32(1),
152  maxDeltaPadCoPad = cms.int32(2),
153 
154  ## efficiency recovery switches
155  dropLowQualityALCTsNoGEMs = cms.bool(False),
156  dropLowQualityCLCTsNoGEMs = cms.bool(True),
157  buildLCTfromALCTandGEM = cms.bool(True),
158  buildLCTfromCLCTandGEM = cms.bool(False),
159  doLCTGhostBustingWithGEMs = cms.bool(False),
160  correctLCTtimingWithGEM = cms.bool(False),
161  promoteALCTGEMpattern = cms.bool(True),
162  promoteALCTGEMquality = cms.bool(True),
163  promoteCLCTGEMquality = cms.bool(True),
164 
165  ## rate reduction
166  doGemMatching = cms.bool(True),
167  gemMatchDeltaEta = cms.double(0.08),
168  gemMatchDeltaBX = cms.int32(1),
169  gemMatchDeltaPhiOdd = cms.double(1),
170  gemMatchDeltaPhiEven = cms.double(1),
171  gemMatchMinEta = cms.double(1.5),
172  gemMatchMaxEta = cms.double(2.45),
173  gemClearNomatchLCTs = cms.bool(False),
174 
175  firstTwoLCTsInChamber = cms.bool(True),
176  )
177 
178  object.me21tmbSLHCGEM = me21tmbSLHCGEM
def cscTriggerPrimitiveDigis_cfi._modifyCscTriggerPrimitiveDigisForRun4RPC (   object)
private
Modifies cscTriggerPrimitiveDigis for Run 4 + RPCs

Definition at line 179 of file cscTriggerPrimitiveDigis_cfi.py.

181  """
182  Modifies cscTriggerPrimitiveDigis for Run 4 + RPCs
183  """
184  object.RPCDigiProducer = "simMuonRPCDigis"
185  object.commonParam.runME3141ILT = cms.bool(False)
186  object.clctSLHCME3141 = object.clctSLHC.clone()
187  object.alctSLHCME3141 = object.alctSLHC.clone()
188  object.alctSLHCME3141.alctNplanesHitPattern = 3
189  object.alctSLHCME3141.clctNplanesHitPattern = 3
190  object.alctSLHCME3141.clctPidThreshPretrig = 2
191 
192  # to be used by ME31-ME41 chambers with RPC-CSC ILT
193  me3141tmbSLHCRPC = cms.PSet(
194  mpcBlockMe1a = cms.uint32(0),
195  alctTrigEnable = cms.uint32(0),
196  clctTrigEnable = cms.uint32(0),
197  matchTrigEnable = cms.uint32(1),
198  matchTrigWindowSize = cms.uint32(3),
199  tmbL1aWindowSize = cms.uint32(7),
200  verbosity = cms.int32(0),
201  tmbEarlyTbins = cms.int32(4),
202  tmbReadoutEarliest2 = cms.bool(False),
203  tmbDropUsedAlcts = cms.bool(False),
204  clctToAlct = cms.bool(False),
205  tmbDropUsedClcts = cms.bool(False),
206  matchEarliestClctME3141Only = cms.bool(False),
207  tmbCrossBxAlgorithm = cms.uint32(2),
208  maxME3141LCTs = cms.uint32(2),
209 
210  ## run in debug mode
211  debugLUTs = cms.bool(False),
212  debugMatching = cms.bool(False),
213 
214  ## use old dataformat
215  useOldLCTDataFormatC = cms.bool(True),
216 
217  ## matching to digis in case LowQ CLCT
218  maxDeltaBXRPC = cms.int32(0),
219  maxDeltaStripRPCOdd = cms.int32(6),
220  maxDeltaStripRPCEven = cms.int32(4),
221  maxDeltaWg = cms.int32(2),
222 
223  ## efficiency recovery switches
224  dropLowQualityCLCTsNoRPCs = cms.bool(True),
225  buildLCTfromALCTandRPC = cms.bool(True),
226  buildLCTfromCLCTandRPC = cms.bool(False),
227  buildLCTfromLowQstubandRPC = cms.bool(True),
228  promoteCLCTRPCquality = cms.bool(True),
229  promoteALCTRPCpattern = cms.bool(True),
230  promoteALCTRPCquality = cms.bool(True),
231 
232  ## rate reduction
233  doRpcMatching = cms.bool(True),
234  rpcMatchDeltaEta = cms.double(0.08),
235  rpcMatchDeltaBX = cms.int32(1),
236  rpcMatchDeltaPhiOdd = cms.double(1),
237  rpcMatchDeltaPhiEven = cms.double(1),
238  rpcMatchMinEta = cms.double(1.5),
239  rpcClearNomatchLCTs = cms.bool(False),
240  ),
241 
242  object.me3141tmbSLHCRPC = me3141tmbSLHCRPC

Variable Documentation

tuple cscTriggerPrimitiveDigis_cfi.cscTriggerPrimitiveDigis

Definition at line 246 of file cscTriggerPrimitiveDigis_cfi.py.