CMS 3D CMS Logo

Functions | Variables
customiseReEmul Namespace Reference

Functions

def L1TAddBitwiseLayer1 (process)
 
def L1TCaloStage2ParamsForHW (process)
 
def L1TEventSetupForHF1x1TPs (process)
 
def L1TReEmulFromNANO (process)
 
def L1TReEmulFromRAW (process)
 
def L1TReEmulFromRAW2015 (process)
 
def L1TReEmulFromRAW2015simCaloTP (process)
 
def L1TReEmulFromRAW2016 (process)
 
def L1TReEmulFromRAWCalo (process)
 
def L1TReEmulFromRAWCaloSimTP (process)
 
def L1TReEmulFromRAWCalouGT (process)
 
def L1TReEmulFromRAWLegacyMuon (process)
 
def L1TReEmulFromRAWsimEcalTP (process)
 
def L1TReEmulFromRAWsimHcalTP (process)
 
def L1TReEmulFromRAWsimTP (process)
 
def L1TReEmulMCFrom90xRAWSimHcalTP (process)
 
def L1TReEmulMCFromRAW (process)
 
def L1TReEmulMCFromRAW2015 (process)
 
def L1TReEmulMCFromRAWSimCalTP (process)
 
def L1TReEmulMCFromRAWSimEcalTP (process)
 
def L1TReEmulMCFromRAWSimHcalTP (process)
 

Variables

 CSCCandidates
 
 CSCComparatorDigiProducer
 
 CSCInput
 
 CSCStub_Source
 
 CSCTrackProducer
 
 CSCWireDigiProducer
 
 digiTag
 
 DTCandidates
 
 DTDigi_Source
 
 DTDigi_Theta_Source
 
 DTproducer
 
 DTThetaDigi_Source
 
 ecalToken
 
 hcalToken
 
 L1TMuonTriggerPrimitives
 
 L1TReEmul
 
 L1TReEmulPath
 
 label
 
 muonSource
 
 RPC_Source
 
 RPCbCandidates
 
 RPCfCandidates
 
 RPCInput
 
 RPCTriggerDebug
 
 SectorReceiverInput
 
 simCsctfDigis
 
 simCsctfTrackDigis
 
 simCscTriggerPrimitiveDigis
 
 simDttfDigis
 
 simDtTriggerPrimitiveDigis
 
 simGmtDigis
 
 simRpcTriggerDigis
 
 simTwinMuxDigisForDttf
 
 srcCSC
 
 srcDTPh
 
 srcDTTh
 
 srcRPC
 

Function Documentation

◆ L1TAddBitwiseLayer1()

def customiseReEmul.L1TAddBitwiseLayer1 (   process)

Definition at line 12 of file customiseReEmul.py.

References print().

12 def L1TAddBitwiseLayer1(process):
13  from L1Trigger.L1TCaloLayer1.simCaloStage2Layer1Digis_cfi import simCaloStage2Layer1Digis as simCaloStage2BitwiseLayer1Digis
14  from L1Trigger.L1TCalorimeter.simCaloStage2Digis_cfi import simCaloStage2Digis as simCaloStage2BitwiseDigis
15  process.simCaloStage2BitwiseLayer1Digis = simCaloStage2BitwiseLayer1Digis.clone()
16  process.simCaloStage2BitwiseLayer1Digis.ecalToken = cms.InputTag("ecalDigis:EcalTriggerPrimitives")
17  process.simCaloStage2BitwiseDigis = simCaloStage2BitwiseDigis.clone()
18  process.simCaloStage2BitwiseDigis.towerToken = cms.InputTag("simCaloStage2BitwiseLayer1Digis")
19  process.SimL1TCalorimeter = cms.Sequence( process.simCaloStage2Layer1Digis + process.simCaloStage2Digis + process.simCaloStage2BitwiseLayer1Digis + process.simCaloStage2BitwiseDigis)
20  from L1Trigger.L1TNtuples.l1UpgradeTree_cfi import l1UpgradeTree
21  process.l1UpgradeBitwiseTree = l1UpgradeTree.clone()
22  process.l1UpgradeBitwiseTree.egToken = cms.untracked.InputTag("simCaloStage2BitwiseDigis")
23  process.l1UpgradeBitwiseTree.tauTokens = cms.untracked.VInputTag("simCaloStage2BitwiseDigis")
24  process.l1UpgradeBitwiseTree.jetToken = cms.untracked.InputTag("simCaloStage2BitwiseDigis")
25  process.l1UpgradeBitwiseTree.muonToken = cms.untracked.InputTag("simGmtStage2Digis")
26  process.l1UpgradeBitwiseTree.sumToken = cms.untracked.InputTag("simCaloStage2BitwiseDigis")
27  process.l1ntuplebitwise = cms.Path(
28  process.l1UpgradeBitwiseTree
29  )
30  process.schedule.append(process.l1ntuplebitwise)
31  print("# modified L1TReEmul: ")
32  print("# {0}".format(process.L1TReEmul))
33  return process
34 
35 # As of 80X, this ES configuration is needed for *data* GTs (mc tags work w/o)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
def L1TAddBitwiseLayer1(process)

◆ L1TCaloStage2ParamsForHW()

def customiseReEmul.L1TCaloStage2ParamsForHW (   process)

Definition at line 8 of file customiseReEmul.py.

8 def L1TCaloStage2ParamsForHW(process):
9  process.load("L1Trigger.L1TCalorimeter.caloStage2Params_HWConfig_cfi")
10  return process
11 
def L1TCaloStage2ParamsForHW(process)

◆ L1TEventSetupForHF1x1TPs()

def customiseReEmul.L1TEventSetupForHF1x1TPs (   process)

Definition at line 36 of file customiseReEmul.py.

36 def L1TEventSetupForHF1x1TPs(process):
37  process.es_pool_hf1x1 = cms.ESSource(
38  "PoolDBESSource",
39  #process.CondDBSetup,
40  timetype = cms.string('runnumber'),
41  toGet = cms.VPSet(
42  cms.PSet(record = cms.string("HcalLutMetadataRcd"),
43  tag = cms.string("HcalLutMetadata_HFTP_1x1")
44  ),
45  cms.PSet(record = cms.string("HcalElectronicsMapRcd"),
46  tag = cms.string("HcalElectronicsMap_HFTP_1x1")
47  )
48  ),
49  connect = cms.string('frontier://FrontierProd/CMS_CONDITIONS'),
50  authenticationMethod = cms.untracked.uint32(0)
51  )
52  process.es_prefer_es_pool_hf1x1 = cms.ESPrefer("PoolDBESSource", "es_pool_hf1x1")
53  return process
54 
def L1TEventSetupForHF1x1TPs(process)

◆ L1TReEmulFromNANO()

def customiseReEmul.L1TReEmulFromNANO (   process)

Definition at line 237 of file customiseReEmul.py.

237 def L1TReEmulFromNANO(process):
238 
239  process.load('L1Trigger.Configuration.SimL1Emulator_cff')
240  process.L1TReEmul = cms.Sequence(process.SimL1TGlobal)
241  stage2L1Trigger_2017.toModify(process.simGtStage2Digis,
242  ExtInputTag = "hltGtStage2Digis",
243  MuonInputTag = "hltGtStage2Digis:Muon",
244  EtSumInputTag = "hltGtStage2Digis:EtSum",
245  EGammaInputTag = "hltGtStage2Digis:EGamma",
246  TauInputTag = "hltGtStage2Digis:Tau",
247  JetInputTag = "hltGtStage2Digis:Jet"
248  )
249 
250  process.L1TReEmulPath = cms.Path(process.L1TReEmul)
251  process.schedule.append(process.L1TReEmulPath)
252 
253  print ("# L1TReEmul sequence: ")
254  print ("# {0}".format(process.L1TReEmul))
255  print ("# {0}".format(process.schedule))
256  return process
257 
def L1TReEmulFromNANO(process)

◆ L1TReEmulFromRAW()

def customiseReEmul.L1TReEmulFromRAW (   process)

Definition at line 187 of file customiseReEmul.py.

References L1TReEmulFromRAW2016(), and print().

Referenced by L1TReEmulFromRAWCalouGT(), L1TReEmulFromRAWsimEcalTP(), L1TReEmulFromRAWsimHcalTP(), L1TReEmulFromRAWsimTP(), and L1TReEmulMCFromRAW().

187 def L1TReEmulFromRAW(process):
188  L1TReEmulFromRAW2016(process)
189 
190 
191  stage2L1Trigger_2017.toModify(process.simOmtfDigis,
192  srcRPC = 'omtfStage2Digis',
193  srcCSC = 'omtfStage2Digis',
194  srcDTPh = 'omtfStage2Digis',
195  srcDTTh = 'omtfStage2Digis'
196  )
197 
198  stage2L1Trigger.toModify(process.simEmtfDigis,
199  CSCInput = cms.InputTag('emtfStage2Digis'),
200  RPCInput = cms.InputTag('muonRPCDigis'),
201  CPPFInput = cms.InputTag('emtfStage2Digis'),
202  GEMEnable = cms.bool(False),
203  GEMInput = cms.InputTag('muonGEMPadDigis'),
204  CPPFEnable = cms.bool(True), # Use CPPF-emulated clustered RPC hits from CPPF as the RPC hits
205  )
206 
207  run3_GEM.toModify(process.simMuonGEMPadDigis,
208  InputCollection = 'muonGEMDigis',
209  )
210 
211  run3_GEM.toModify(process.simTwinMuxDigis,
212  RPC_Source = 'rpcTwinMuxRawToDigi',
213  DTDigi_Source = 'simDtTriggerPrimitiveDigis',
214  DTThetaDigi_Source = 'simDtTriggerPrimitiveDigis'
215  )
216 
217  run3_GEM.toModify(process.simKBmtfStubs,
218  srcPhi = 'bmtfDigis',
219  srcTheta = 'bmtfDigis'
220  )
221 
222  run3_GEM.toModify(process.simBmtfDigis,
223  DTDigi_Source = 'bmtfDigis',
224  DTDigi_Theta_Source = 'bmtfDigis'
225  )
226 
227  print("# L1TReEmul sequence: ")
228  print("# {0}".format(process.L1TReEmul))
229  print("# {0}".format(process.schedule))
230  return process
231 
def L1TReEmulFromRAW2016(process)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
def L1TReEmulFromRAW(process)

◆ L1TReEmulFromRAW2015()

def customiseReEmul.L1TReEmulFromRAW2015 (   process)

Definition at line 55 of file customiseReEmul.py.

References print().

Referenced by L1TReEmulFromRAW2015simCaloTP(), and L1TReEmulMCFromRAW2015().

55 def L1TReEmulFromRAW2015(process):
56  process.load('L1Trigger.Configuration.SimL1Emulator_cff')
57  process.load('L1Trigger.Configuration.CaloTriggerPrimitives_cff')
58  process.simEcalTriggerPrimitiveDigis.Label = 'ecalDigis'
59  process.simHcalTriggerPrimitiveDigis.inputLabel = cms.VInputTag(
60  cms.InputTag('hcalDigis'),
61  cms.InputTag('hcalDigis')
62  )
63  process.L1TReEmul = cms.Sequence(process.simEcalTriggerPrimitiveDigis * process.simHcalTriggerPrimitiveDigis * process.SimL1Emulator)
64  process.simDtTriggerPrimitiveDigis.digiTag = 'muonDTDigis'
65  process.simCscTriggerPrimitiveDigis.CSCComparatorDigiProducer = cms.InputTag( 'muonCSCDigis', 'MuonCSCComparatorDigi')
66  process.simCscTriggerPrimitiveDigis.CSCWireDigiProducer = cms.InputTag( 'muonCSCDigis', 'MuonCSCWireDigi' )
67 
68  stage2L1Trigger.toModify(process.simTwinMuxDigis,
69  RPC_Source = 'muonRPCDigis',
70  # When available, this will switch to TwinMux input Digis:
71  DTDigi_Source = "dttfDigis",
72  DTThetaDigi_Source = "dttfDigis"
73  )
74  stage2L1Trigger.toModify(process.simOmtfDigis,
75  srcRPC = 'muonRPCDigis',
76  srcCSC = "csctfDigis"
77  )
78  stage2L1Trigger.toModify(process.simBmtfDigis,
79  DTDigi_Source = "simTwinMuxDigis",
80  DTDigi_Theta_Source = "dttfDigis"
81  )
82  stage2L1Trigger.toModify(process.simKBmtfStubs,
83  srcPhi = "simTwinMuxDigis",
84  srcTheta = "dttfDigis"
85  )
86  stage2L1Trigger.toModify(process.simEmtfDigis,
87  CSCInput = "csctfDigis",
88  RPCInput = 'muonRPCDigis'
89  )
90  stage2L1Trigger.toModify(process.simCaloStage2Layer1Digis, ecalToken = "ecalDigis:EcalTriggerPrimitives")
91  # quiet warning abouts missing Stage-2 payloads, since they won't reliably exist in 2015 data.
92  stage2L1Trigger.toModify(process.caloStage2Digis, MinFeds = 0)
93  stage2L1Trigger.toModify(process.gmtStage2Digis, MinFeds = 0)
94  stage2L1Trigger.toModify(process.gtStage2Digis, MinFeds = 0)
95 
96  (~stage2L1Trigger).toModify(process.simRctDigis,
97  ecalDigis = ['simEcalTriggerPrimitiveDigis'],
98  hcalDigis = ['simHcalTriggerPrimitiveDigis']
99  )
100  (~stage2L1Trigger).toModify(process.simRpcTriggerDigis, label = 'muonRPCDigis')
101  (~stage2L1Trigger).toModify(process.simRpcTechTrigDigis, RPCDigiLabel = 'muonRPCDigis')
102 
103  process.L1TReEmulPath = cms.Path(process.L1TReEmul)
104  process.schedule.append(process.L1TReEmulPath)
105 
106  print("# L1TReEmul sequence: ")
107  print("# {0}".format(process.L1TReEmul))
108  print("# {0}".format(process.schedule))
109  return process
110 
def L1TReEmulFromRAW2015(process)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47

◆ L1TReEmulFromRAW2015simCaloTP()

def customiseReEmul.L1TReEmulFromRAW2015simCaloTP (   process)

Definition at line 117 of file customiseReEmul.py.

References L1TReEmulFromRAW2015().

117 def L1TReEmulFromRAW2015simCaloTP(process):
118  L1TReEmulFromRAW2015(process)
119  stage2L1Trigger.toModify(process.simCaloStage2Layer1Digis, ecalToken = "simEcalTriggerPrimitiveDigis")
120  return process
121 
def L1TReEmulFromRAW2015simCaloTP(process)
def L1TReEmulFromRAW2015(process)

◆ L1TReEmulFromRAW2016()

def customiseReEmul.L1TReEmulFromRAW2016 (   process)

Definition at line 122 of file customiseReEmul.py.

Referenced by L1TReEmulFromRAW().

122 def L1TReEmulFromRAW2016(process):
123  process.load('L1Trigger.Configuration.SimL1Emulator_cff')
124  process.load('L1Trigger.Configuration.CaloTriggerPrimitives_cff')
125  process.simEcalTriggerPrimitiveDigis.Label = 'ecalDigis'
126  process.simHcalTriggerPrimitiveDigis.inputLabel = cms.VInputTag(
127  cms.InputTag('hcalDigis'),
128  cms.InputTag('hcalDigis')
129  )
130  process.simHcalTriggerPrimitiveDigis.inputUpgradeLabel = cms.VInputTag(
131  cms.InputTag('hcalDigis'),
132  cms.InputTag('hcalDigis')
133  )
134  process.simDtTriggerPrimitiveDigis.digiTag = cms.InputTag("muonDTDigis")
135  process.simCscTriggerPrimitiveDigis.CSCComparatorDigiProducer = cms.InputTag( 'muonCSCDigis', 'MuonCSCComparatorDigi')
136  process.simCscTriggerPrimitiveDigis.CSCWireDigiProducer = cms.InputTag( 'muonCSCDigis', 'MuonCSCWireDigi' )
137  process.L1TReEmul = cms.Sequence(process.simEcalTriggerPrimitiveDigis * process.simHcalTriggerPrimitiveDigis * process.SimL1Emulator)
138 
139 
140  #cutlist=['simDtTriggerPrimitiveDigis','simCscTriggerPrimitiveDigis']
141  #for b in cutlist:
142  # process.SimL1Emulator.remove(getattr(process,b))
143  # TwinMux
144  stage2L1Trigger.toModify(process.simTwinMuxDigis,
145  RPC_Source = 'rpcTwinMuxRawToDigi',
146  DTDigi_Source = 'twinMuxStage2Digis:PhIn',
147  DTThetaDigi_Source = 'twinMuxStage2Digis:ThIn'
148  )
149  # BMTF
150  stage2L1Trigger.toModify(process.simBmtfDigis,
151  DTDigi_Source = "simTwinMuxDigis",
152  DTDigi_Theta_Source = "bmtfDigis"
153  )
154  # KBMTF
155  stage2L1Trigger.toModify(process.simKBmtfStubs,
156  srcPhi = 'simTwinMuxDigis',
157  srcTheta = 'bmtfDigis'
158  )
159  # OMTF
160  stage2L1Trigger.toModify(process.simOmtfDigis,
161  srcRPC = 'muonRPCDigis',
162  srcCSC = 'csctfDigis',
163  srcDTPh = 'bmtfDigis',
164  srcDTTh = 'bmtfDigis'
165  )
166  # EMTF
167  stage2L1Trigger.toModify(process.simEmtfDigis,
168  CSCInput = 'emtfStage2Digis',
169  RPCInput = 'muonRPCDigis'
170  )
171  # Calo Layer1
172  stage2L1Trigger.toModify(process.simCaloStage2Layer1Digis,
173  ecalToken = 'ecalDigis:EcalTriggerPrimitives',
174  hcalToken = 'hcalDigis:'
175  )
176 
177  (~stage2L1Trigger).toModify(process.simRctDigis,
178  ecalDigis = ['ecalDigis:EcalTriggerPrimitives'],
179  hcalDigis = ['hcalDigis:']
180  )
181  (~stage2L1Trigger).toModify(process.simRpcTriggerDigis, label = 'muonRPCDigis')
182 
183  process.L1TReEmulPath = cms.Path(process.L1TReEmul)
184  process.schedule.append(process.L1TReEmulPath)
185  return process
186 
def L1TReEmulFromRAW2016(process)

◆ L1TReEmulFromRAWCalo()

def customiseReEmul.L1TReEmulFromRAWCalo (   process)

Definition at line 258 of file customiseReEmul.py.

258 def L1TReEmulFromRAWCalo(process):
259  process.load('L1Trigger.Configuration.SimL1CaloEmulator_cff')
260  process.L1TReEmul = cms.Sequence(process.SimL1CaloEmulator)
261  process.simCaloStage2Layer1Digis.ecalToken = cms.InputTag('ecalDigis:EcalTriggerPrimitives')
262  process.simCaloStage2Layer1Digis.hcalToken = cms.InputTag('hcalDigis:')
263  process.L1TReEmulPath = cms.Path(process.L1TReEmul)
264  process.schedule.append(process.L1TReEmulPath)
265 
266  print ("# L1TReEmul sequence: ")
267  print ("# {0}".format(process.L1TReEmul))
268  print ("# {0}".format(process.schedule))
269  return process
270 
def L1TReEmulFromRAWCalo(process)

◆ L1TReEmulFromRAWCaloSimTP()

def customiseReEmul.L1TReEmulFromRAWCaloSimTP (   process)

Definition at line 271 of file customiseReEmul.py.

271 def L1TReEmulFromRAWCaloSimTP(process):
272  process.load('L1Trigger.Configuration.SimL1CaloEmulator_cff')
273  process.L1TReEmul = cms.Sequence(process.SimL1CaloEmulator)
274  process.L1TReEmulPath = cms.Path(process.L1TReEmul)
275  process.schedule.append(process.L1TReEmulPath)
276 
277  print ("# L1TReEmul sequence: ")
278  print ("# {0}".format(process.L1TReEmul))
279  print ("# {0}".format(process.schedule))
280  return process
281 
def L1TReEmulFromRAWCaloSimTP(process)

◆ L1TReEmulFromRAWCalouGT()

def customiseReEmul.L1TReEmulFromRAWCalouGT (   process)

Definition at line 232 of file customiseReEmul.py.

References L1TReEmulFromRAW().

232 def L1TReEmulFromRAWCalouGT(process):
233  L1TReEmulFromRAW(process)
234  process.simGtStage2Digis.MuonInputTag = cms.InputTag("gtStage2Digis","Muon")
235  return process
236 
def L1TReEmulFromRAW(process)
def L1TReEmulFromRAWCalouGT(process)

◆ L1TReEmulFromRAWLegacyMuon()

def customiseReEmul.L1TReEmulFromRAWLegacyMuon (   process)

Definition at line 397 of file customiseReEmul.py.

397 def L1TReEmulFromRAWLegacyMuon(process):
398  process.load('L1Trigger.Configuration.SimL1Emulator_cff')
399  process.load('L1Trigger.Configuration.CaloTriggerPrimitives_cff')
400  process.simEcalTriggerPrimitiveDigis.Label = 'ecalDigis'
401  process.simHcalTriggerPrimitiveDigis.inputLabel = cms.VInputTag(
402  cms.InputTag('hcalDigis'),
403  cms.InputTag('hcalDigis')
404  )
405 
def L1TReEmulFromRAWLegacyMuon(process)

◆ L1TReEmulFromRAWsimEcalTP()

def customiseReEmul.L1TReEmulFromRAWsimEcalTP (   process)

Definition at line 350 of file customiseReEmul.py.

References L1TReEmulFromRAW().

350 def L1TReEmulFromRAWsimEcalTP(process):
351  L1TReEmulFromRAW(process)
352  stage2L1Trigger.toModify(process.simCaloStage2Layer1Digis, ecalToken = "simEcalTriggerPrimitiveDigis")
353  return process
354 
def L1TReEmulFromRAWsimEcalTP(process)
def L1TReEmulFromRAW(process)

◆ L1TReEmulFromRAWsimHcalTP()

def customiseReEmul.L1TReEmulFromRAWsimHcalTP (   process)

Definition at line 355 of file customiseReEmul.py.

References L1TReEmulFromRAW().

355 def L1TReEmulFromRAWsimHcalTP(process):
356  L1TReEmulFromRAW(process)
357  stage2L1Trigger.toModify(process.simCaloStage2Layer1Digis, hcalToken = 'simHcalTriggerPrimitiveDigis')
358  return process
359 
def L1TReEmulFromRAW(process)
def L1TReEmulFromRAWsimHcalTP(process)

◆ L1TReEmulFromRAWsimTP()

def customiseReEmul.L1TReEmulFromRAWsimTP (   process)

Definition at line 360 of file customiseReEmul.py.

References L1TReEmulFromRAW().

360 def L1TReEmulFromRAWsimTP(process):
361  L1TReEmulFromRAW(process)
362  # TwinMux
363  stage2L1Trigger.toModify(process.simTwinMuxDigis,
364  RPC_Source = 'muonRPCDigis',
365  DTDigi_Source = 'simDtTriggerPrimitiveDigis',
366  DTThetaDigi_Source = 'simDtTriggerPrimitiveDigis'
367  )
368  # BMTF
369  stage2L1Trigger.toModify(process.simBmtfDigis,
370  DTDigi_Source = 'simTwinMuxDigis',
371  DTDigi_Theta_Source = 'simDtTriggerPrimitiveDigis'
372  )
373  # KBMTF
374  stage2L1Trigger.toModify(process.simKBmtfStubs,
375  srcPhi = "simTwinMuxDigis",
376  srcTheta = "simDtTriggerPrimitiveDigis"
377  )
378  # OMTF
379  stage2L1Trigger.toModify(process.simOmtfDigis,
380  srcRPC = 'muonRPCDigis',
381  srcCSC = 'simCscTriggerPrimitiveDigis',
382  srcDTPh = 'simDtTriggerPrimitiveDigis',
383  srcDTTh = 'simDtTriggerPrimitiveDigis'
384  )
385  # EMTF
386  stage2L1Trigger.toModify(process.simEmtfDigis,
387  CSCInput = 'simCscTriggerPrimitiveDigis',
388  RPCInput = 'muonRPCDigis'
389  )
390  # Layer1
391  stage2L1Trigger.toModify(process.simCaloStage2Layer1Digis,
392  ecalToken = "simEcalTriggerPrimitiveDigis",
393  hcalToken = 'simHcalTriggerPrimitiveDigis'
394  )
395  return process
396 
def L1TReEmulFromRAW(process)
def L1TReEmulFromRAWsimTP(process)

◆ L1TReEmulMCFrom90xRAWSimHcalTP()

def customiseReEmul.L1TReEmulMCFrom90xRAWSimHcalTP (   process)

Definition at line 324 of file customiseReEmul.py.

References L1TReEmulMCFromRAW().

324 def L1TReEmulMCFrom90xRAWSimHcalTP(process):
325  L1TReEmulMCFromRAW(process)
326  stage2L1Trigger.toModify(process.simHcalTriggerPrimitiveDigis,
327  inputLabel = [
328  'simHcalUnsuppressedDigis',
329  'simHcalUnsuppressedDigis'
330  ],
331  inputUpgradeLabel = [
332  'simHcalUnsuppressedDigis:HBHEQIE11DigiCollection',
333  'simHcalUnsuppressedDigis:HFQIE10DigiCollection'
334  ]
335  )
336  stage2L1Trigger.toModify(process.simCaloStage2Layer1Digis, hcalToken = 'simHcalTriggerPrimitiveDigis')
337  return process
338  #inputUpgradeLabel = cms.VInputTag(
339  # cms.InputTag('simHcalUnsuppressedDigis:HBHEQIE11DigiCollection'),
340  # cms.InputTag('simHcalUnsuppressedDigis:HFQIE10DigiCollection')),
341 
def L1TReEmulMCFromRAW(process)
def L1TReEmulMCFrom90xRAWSimHcalTP(process)

◆ L1TReEmulMCFromRAW()

def customiseReEmul.L1TReEmulMCFromRAW (   process)

Definition at line 282 of file customiseReEmul.py.

References L1TReEmulFromRAW().

Referenced by L1TReEmulMCFrom90xRAWSimHcalTP(), L1TReEmulMCFromRAWSimCalTP(), L1TReEmulMCFromRAWSimEcalTP(), and L1TReEmulMCFromRAWSimHcalTP().

282 def L1TReEmulMCFromRAW(process):
283  L1TReEmulFromRAW(process)
284  stage2L1Trigger.toModify(process.simEmtfDigis, CSCInput = 'simCscTriggerPrimitiveDigis:MPCSORTED')
285  stage2L1Trigger.toModify(process.simOmtfDigis, srcCSC = 'simCscTriggerPrimitiveDigis:MPCSORTED')
286 
287  # Correct input collections for MC re-emulation
288  run3_GEM.toModify(process.simBmtfDigis,
289  DTDigi_Source = 'simTwinMuxDigis',
290  DTDigi_Theta_Source = 'simDtTriggerPrimitiveDigis'
291  )
292 
293  run3_GEM.toModify(process.simKBmtfStubs,
294  srcPhi = "simTwinMuxDigis",
295  srcTheta = "simDtTriggerPrimitiveDigis"
296  )
297 
298  run3_GEM.toModify(process.simOmtfDigis,
299  srcRPC = 'muonRPCDigis',
300  srcDTPh = 'simDtTriggerPrimitiveDigis',
301  srcDTTh = 'simDtTriggerPrimitiveDigis'
302  )
303 
304  run3_GEM.toModify(process.simEmtfDigis,
305  RPCInput = 'muonRPCDigis',
306  GEMEnable = False, # Will be enabled when GEM is in use.
307  GEMInput = 'simMuonGEMPadDigiClusters',
308  CPPFEnable = False, # Use CPPF-emulated clustered RPC hits from CPPF as the RPC hits. Set to "False" for MC
309  UseRun3CCLUT_OTMB = False, # TODO: Enable UseRun3CCLUT_OTMB once it's ready.
310  )
311 
312  return process
313 
def L1TReEmulMCFromRAW(process)
def L1TReEmulFromRAW(process)

◆ L1TReEmulMCFromRAW2015()

def customiseReEmul.L1TReEmulMCFromRAW2015 (   process)

Definition at line 111 of file customiseReEmul.py.

References L1TReEmulFromRAW2015().

111 def L1TReEmulMCFromRAW2015(process):
112  L1TReEmulFromRAW2015(process)
113  stage2L1Trigger.toModify(process.simEmtfDigis, CSCInput = 'simCscTriggerPrimitiveDigis:MPCSORTED')
114  stage2L1Trigger.toModify(process.simOmtfDigis, srcCSC = 'simCscTriggerPrimitiveDigis:MPCSORTED')
115  return process
116 
def L1TReEmulFromRAW2015(process)
def L1TReEmulMCFromRAW2015(process)

◆ L1TReEmulMCFromRAWSimCalTP()

def customiseReEmul.L1TReEmulMCFromRAWSimCalTP (   process)

Definition at line 342 of file customiseReEmul.py.

References L1TReEmulMCFromRAW().

342 def L1TReEmulMCFromRAWSimCalTP(process):
343  L1TReEmulMCFromRAW(process)
344  stage2L1Trigger.toModify(process.simCaloStage2Layer1Digis,
345  ecalToken = "simEcalTriggerPrimitiveDigis",
346  hcalToken = 'simHcalTriggerPrimitiveDigis'
347  )
348  return process
349 
def L1TReEmulMCFromRAWSimCalTP(process)
def L1TReEmulMCFromRAW(process)

◆ L1TReEmulMCFromRAWSimEcalTP()

def customiseReEmul.L1TReEmulMCFromRAWSimEcalTP (   process)

Definition at line 314 of file customiseReEmul.py.

References L1TReEmulMCFromRAW().

314 def L1TReEmulMCFromRAWSimEcalTP(process):
315  L1TReEmulMCFromRAW(process)
316  stage2L1Trigger.toModify(process.simCaloStage2Layer1Digis, ecalToken = "simEcalTriggerPrimitiveDigis")
317  return process
318 
def L1TReEmulMCFromRAW(process)
def L1TReEmulMCFromRAWSimEcalTP(process)

◆ L1TReEmulMCFromRAWSimHcalTP()

def customiseReEmul.L1TReEmulMCFromRAWSimHcalTP (   process)

Definition at line 319 of file customiseReEmul.py.

References L1TReEmulMCFromRAW().

319 def L1TReEmulMCFromRAWSimHcalTP(process):
320  L1TReEmulMCFromRAW(process)
321  stage2L1Trigger.toModify(process.simCaloStage2Layer1Digis, hcalToken = 'simHcalTriggerPrimitiveDigis')
322  return process
323 
def L1TReEmulMCFromRAW(process)
def L1TReEmulMCFromRAWSimHcalTP(process)

Variable Documentation

◆ CSCCandidates

customiseReEmul.CSCCandidates

Definition at line 461 of file customiseReEmul.py.

◆ CSCComparatorDigiProducer

customiseReEmul.CSCComparatorDigiProducer

Definition at line 427 of file customiseReEmul.py.

◆ CSCInput

customiseReEmul.CSCInput

Definition at line 481 of file customiseReEmul.py.

◆ CSCStub_Source

customiseReEmul.CSCStub_Source

Definition at line 445 of file customiseReEmul.py.

◆ CSCTrackProducer

customiseReEmul.CSCTrackProducer

Definition at line 438 of file customiseReEmul.py.

◆ CSCWireDigiProducer

customiseReEmul.CSCWireDigiProducer

Definition at line 428 of file customiseReEmul.py.

◆ digiTag

customiseReEmul.digiTag

Definition at line 413 of file customiseReEmul.py.

◆ DTCandidates

customiseReEmul.DTCandidates

Definition at line 460 of file customiseReEmul.py.

◆ DTDigi_Source

customiseReEmul.DTDigi_Source

Definition at line 419 of file customiseReEmul.py.

◆ DTDigi_Theta_Source

customiseReEmul.DTDigi_Theta_Source

Definition at line 470 of file customiseReEmul.py.

◆ DTproducer

customiseReEmul.DTproducer

Definition at line 435 of file customiseReEmul.py.

◆ DTThetaDigi_Source

customiseReEmul.DTThetaDigi_Source

Definition at line 420 of file customiseReEmul.py.

◆ ecalToken

customiseReEmul.ecalToken

Definition at line 484 of file customiseReEmul.py.

◆ hcalToken

customiseReEmul.hcalToken

Definition at line 485 of file customiseReEmul.py.

◆ L1TMuonTriggerPrimitives

customiseReEmul.L1TMuonTriggerPrimitives

Definition at line 489 of file customiseReEmul.py.

◆ L1TReEmul

customiseReEmul.L1TReEmul

Definition at line 491 of file customiseReEmul.py.

◆ L1TReEmulPath

customiseReEmul.L1TReEmulPath

Definition at line 499 of file customiseReEmul.py.

◆ label

customiseReEmul.label

Definition at line 452 of file customiseReEmul.py.

◆ muonSource

customiseReEmul.muonSource
  • Legacy to upgrade format muon converter

Definition at line 408 of file customiseReEmul.py.

◆ RPC_Source

customiseReEmul.RPC_Source

Definition at line 418 of file customiseReEmul.py.

◆ RPCbCandidates

customiseReEmul.RPCbCandidates

Definition at line 462 of file customiseReEmul.py.

◆ RPCfCandidates

customiseReEmul.RPCfCandidates

Definition at line 463 of file customiseReEmul.py.

◆ RPCInput

customiseReEmul.RPCInput

Definition at line 482 of file customiseReEmul.py.

◆ RPCTriggerDebug

customiseReEmul.RPCTriggerDebug

Definition at line 453 of file customiseReEmul.py.

◆ SectorReceiverInput

customiseReEmul.SectorReceiverInput

Definition at line 434 of file customiseReEmul.py.

◆ simCsctfDigis

customiseReEmul.simCsctfDigis

Definition at line 437 of file customiseReEmul.py.

◆ simCsctfTrackDigis

customiseReEmul.simCsctfTrackDigis

Definition at line 433 of file customiseReEmul.py.

◆ simCscTriggerPrimitiveDigis

customiseReEmul.simCscTriggerPrimitiveDigis

Definition at line 426 of file customiseReEmul.py.

◆ simDttfDigis

customiseReEmul.simDttfDigis

Definition at line 443 of file customiseReEmul.py.

◆ simDtTriggerPrimitiveDigis

customiseReEmul.simDtTriggerPrimitiveDigis

Definition at line 412 of file customiseReEmul.py.

◆ simGmtDigis

customiseReEmul.simGmtDigis

Definition at line 459 of file customiseReEmul.py.

◆ simRpcTriggerDigis

customiseReEmul.simRpcTriggerDigis

Definition at line 451 of file customiseReEmul.py.

◆ simTwinMuxDigisForDttf

customiseReEmul.simTwinMuxDigisForDttf

Definition at line 417 of file customiseReEmul.py.

◆ srcCSC

customiseReEmul.srcCSC

Definition at line 477 of file customiseReEmul.py.

◆ srcDTPh

customiseReEmul.srcDTPh

Definition at line 478 of file customiseReEmul.py.

◆ srcDTTh

customiseReEmul.srcDTTh

Definition at line 479 of file customiseReEmul.py.

◆ srcRPC

customiseReEmul.srcRPC

Definition at line 476 of file customiseReEmul.py.