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.isSLHC = True
16  object.commonParam.smartME1aME1b = True
17  object.commonParam.gangedME1a = False
18  object.alctParam07.alctNarrowMaskForR1 = True
19  object.alctParam07.alctGhostCancellationBxDepth = cms.int32(1)
20  object.alctParam07.alctGhostCancellationSideQuality = cms.bool(True)
21  object.alctParam07.alctPretrigDeadtime = cms.uint32(4)
22  object.clctParam07.clctPidThreshPretrig = 4
23  object.clctParam07.clctMinSeparation = 5
24  object.tmbParam.matchTrigWindowSize = 3
25 
def cscTriggerPrimitiveDigis_cfi._modifyCscTriggerPrimitiveDigisForRun2GE11 (   object)
private
Modifies cscTriggerPrimitiveDigis for Run 2 + GEMs

Definition at line 26 of file cscTriggerPrimitiveDigis_cfi.py.

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

Definition at line 110 of file cscTriggerPrimitiveDigis_cfi.py.

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

Definition at line 188 of file cscTriggerPrimitiveDigis_cfi.py.

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

Variable Documentation

tuple cscTriggerPrimitiveDigis_cfi.cscTriggerPrimitiveDigis

Definition at line 255 of file cscTriggerPrimitiveDigis_cfi.py.