CMS 3D CMS Logo

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

Functions

def customise_DataMix
 
def customise_Digi_25ns
 
def customise_Digi_50ns
 
def customise_Digi_Common
 
def customise_DigiToRaw
 
def customise_DQM
 
def customise_DQM_25ns
 
def customise_harvesting
 
def customise_HLT
 
def customise_L1Emulator
 
def customise_RawToDigi
 
def customise_Reco
 
def customise_Sim
 
def customise_Validation
 
def customisePostLS1
 
def customisePostLS1_50ns
 
def customisePostLS1_B0T
 
def customisePostLS1_B0T_lowPU
 
def customisePostLS1_Common
 
def customisePostLS1_HI
 
def customisePostLS1_lowPU
 
def digiEventContent
 
def recoOutputCustoms
 

Function Documentation

def postLS1Customs.customise_DataMix (   process)

Definition at line 175 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

176 def customise_DataMix(process):
177  if hasattr(process,'mixData'):
178  if hasattr(process.mixData,'ho'):
179  process.mixData.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
180  process.mixData.ho.siPMCode = cms.int32(1)
181  process.mixData.ho.pixels = cms.int32(2500)
182  process.mixData.ho.doSiPMSmearing = cms.bool(False)
183  if hasattr(process.mixData,'hf1'):
184  process.mixData.hf1.samplingFactor = cms.double(0.60)
185  if hasattr(process.mixData,'hf2'):
186  process.mixData.hf2.samplingFactor = cms.double(0.60)
187  return process
188 
def postLS1Customs.customise_Digi_25ns (   process)

Definition at line 404 of file postLS1Customs.py.

Referenced by customisePostLS1().

405 def customise_Digi_25ns(process):
406  if hasattr(process,'mix') and hasattr(process.mix,'digitizers'):
407  if hasattr(process.mix.digitizers,'pixel'):
408  # pixel dynamic inefficency - 13TeV - 25ns case
409  process.mix.digitizers.pixel.theInstLumiScaleFactor = cms.double(364)
410  process.mix.digitizers.pixel.theLadderEfficiency_BPix1 = cms.vdouble(
411  1,
412  1,
413  1,
414  1,
415  1,
416  1,
417  1,
418  1,
419  1,
420  1,
421  1,
422  1,
423  1,
424  1,
425  1,
426  1,
427  1,
428  1,
429  1,
430  1,
431  )
432  process.mix.digitizers.pixel.theLadderEfficiency_BPix2 = cms.vdouble(
433  1,
434  1,
435  1,
436  1,
437  1,
438  1,
439  1,
440  1,
441  1,
442  1,
443  1,
444  1,
445  1,
446  1,
447  1,
448  1,
449  1,
450  1,
451  1,
452  1,
453  1,
454  1,
455  1,
456  1,
457  1,
458  1,
459  1,
460  1,
461  1,
462  1,
463  1,
464  1,
465  )
466  process.mix.digitizers.pixel.theLadderEfficiency_BPix3 = cms.vdouble(
467  1,
468  1,
469  1,
470  1,
471  1,
472  1,
473  1,
474  1,
475  1,
476  1,
477  1,
478  1,
479  1,
480  1,
481  1,
482  1,
483  1,
484  1,
485  1,
486  1,
487  1,
488  1,
489  1,
490  1,
491  1,
492  1,
493  1,
494  1,
495  1,
496  1,
497  1,
498  1,
499  1,
500  1,
501  1,
502  1,
503  1,
504  1,
505  1,
506  1,
507  1,
508  1,
509  1,
510  1,
511  )
512  process.mix.digitizers.pixel.theModuleEfficiency_BPix1 = cms.vdouble(
513  1,
514  1,
515  1,
516  1,
517  )
518  process.mix.digitizers.pixel.theModuleEfficiency_BPix2 = cms.vdouble(
519  1,
520  1,
521  1,
522  1,
523  )
524  process.mix.digitizers.pixel.theModuleEfficiency_BPix3 = cms.vdouble(
525  1,
526  1,
527  1,
528  1,
529  )
530  process.mix.digitizers.pixel.thePUEfficiency_BPix1 = cms.vdouble(
531  1.00023,
532  -3.18350e-06,
533  5.08503e-10,
534  -6.79785e-14,
535  )
536  process.mix.digitizers.pixel.thePUEfficiency_BPix2 = cms.vdouble(
537  9.99974e-01,
538  -8.91313e-07,
539  5.29196e-12,
540  -2.28725e-15,
541  )
542  process.mix.digitizers.pixel.thePUEfficiency_BPix3 = cms.vdouble(
543  1.00005,
544  -6.59249e-07,
545  2.75277e-11,
546  -1.62683e-15,
547  )
548  if hasattr(process,'mixData'):
549  # pixel dynamic inefficency - 13TeV - 25ns case
550  process.mixData.theInstLumiScaleFactor = cms.double(364)
551  process.mixData.theLadderEfficiency_BPix1 = cms.vdouble(
552  1,
553  1,
554  1,
555  1,
556  1,
557  1,
558  1,
559  1,
560  1,
561  1,
562  1,
563  1,
564  1,
565  1,
566  1,
567  1,
568  1,
569  1,
570  1,
571  1,
572  )
573  process.mixData.theLadderEfficiency_BPix2 = cms.vdouble(
574  1,
575  1,
576  1,
577  1,
578  1,
579  1,
580  1,
581  1,
582  1,
583  1,
584  1,
585  1,
586  1,
587  1,
588  1,
589  1,
590  1,
591  1,
592  1,
593  1,
594  1,
595  1,
596  1,
597  1,
598  1,
599  1,
600  1,
601  1,
602  1,
603  1,
604  1,
605  1,
606  )
607  process.mixData.theLadderEfficiency_BPix3 = cms.vdouble(
608  1,
609  1,
610  1,
611  1,
612  1,
613  1,
614  1,
615  1,
616  1,
617  1,
618  1,
619  1,
620  1,
621  1,
622  1,
623  1,
624  1,
625  1,
626  1,
627  1,
628  1,
629  1,
630  1,
631  1,
632  1,
633  1,
634  1,
635  1,
636  1,
637  1,
638  1,
639  1,
640  1,
641  1,
642  1,
643  1,
644  1,
645  1,
646  1,
647  1,
648  1,
649  1,
650  1,
651  1,
652  )
653  process.mixData.theModuleEfficiency_BPix1 = cms.vdouble(
654  1,
655  1,
656  1,
657  1,
658  )
659  process.mixData.theModuleEfficiency_BPix2 = cms.vdouble(
660  1,
661  1,
662  1,
663  1,
664  )
665  process.mixData.theModuleEfficiency_BPix3 = cms.vdouble(
666  1,
667  1,
668  1,
669  1,
670  )
671  process.mixData.thePUEfficiency_BPix1 = cms.vdouble(
672  1.00023,
673  -3.18350e-06,
674  5.08503e-10,
675  -6.79785e-14,
676  )
677  process.mixData.thePUEfficiency_BPix2 = cms.vdouble(
678  9.99974e-01,
679  -8.91313e-07,
680  5.29196e-12,
681  -2.28725e-15,
682  )
683  process.mixData.thePUEfficiency_BPix3 = cms.vdouble(
684  1.00005,
685  -6.59249e-07,
686  2.75277e-11,
687  -1.62683e-15,
688  )
689  return process
690 
def postLS1Customs.customise_Digi_50ns (   process)

Definition at line 189 of file postLS1Customs.py.

Referenced by customisePostLS1_50ns(), and customisePostLS1_lowPU().

190 def customise_Digi_50ns(process):
191  if hasattr(process,'mix') and hasattr(process.mix,'digitizers'):
192  if hasattr(process.mix.digitizers,'pixel'):
193  # pixel dynamic inefficency - 13TeV - 50ns case
194  process.mix.digitizers.pixel.theInstLumiScaleFactor = cms.double(246.4)
195  process.mix.digitizers.pixel.theLadderEfficiency_BPix1 = cms.vdouble(
196  0.979259,
197  0.976677,
198  0.979259,
199  0.976677,
200  0.979259,
201  0.976677,
202  0.979259,
203  0.976677,
204  0.979259,
205  0.976677,
206  0.979259,
207  0.976677,
208  0.979259,
209  0.976677,
210  0.979259,
211  0.976677,
212  0.979259,
213  0.976677,
214  0.979259,
215  0.976677,
216  )
217  process.mix.digitizers.pixel.theLadderEfficiency_BPix2 = cms.vdouble(
218  0.994321,
219  0.993944,
220  0.994321,
221  0.993944,
222  0.994321,
223  0.993944,
224  0.994321,
225  0.993944,
226  0.994321,
227  0.993944,
228  0.994321,
229  0.993944,
230  0.994321,
231  0.993944,
232  0.994321,
233  0.993944,
234  0.994321,
235  0.993944,
236  0.994321,
237  0.993944,
238  0.994321,
239  0.993944,
240  0.994321,
241  0.993944,
242  0.994321,
243  0.993944,
244  0.994321,
245  0.993944,
246  0.994321,
247  0.993944,
248  0.994321,
249  0.993944,
250  )
251  process.mix.digitizers.pixel.theLadderEfficiency_BPix3 = cms.vdouble(
252  0.996787,
253  0.996945,
254  0.996787,
255  0.996945,
256  0.996787,
257  0.996945,
258  0.996787,
259  0.996945,
260  0.996787,
261  0.996945,
262  0.996787,
263  0.996945,
264  0.996787,
265  0.996945,
266  0.996787,
267  0.996945,
268  0.996787,
269  0.996945,
270  0.996787,
271  0.996945,
272  0.996787,
273  0.996945,
274  0.996787,
275  0.996945,
276  0.996787,
277  0.996945,
278  0.996787,
279  0.996945,
280  0.996787,
281  0.996945,
282  0.996787,
283  0.996945,
284  0.996787,
285  0.996945,
286  0.996787,
287  0.996945,
288  0.996787,
289  0.996945,
290  0.996787,
291  0.996945,
292  0.996787,
293  0.996945,
294  0.996787,
295  0.996945,
296  )
297  if hasattr(process,'mixData'):
298  # pixel dynamic inefficency - 13TeV - 50ns case
299  process.mixData.theInstLumiScaleFactor = cms.double(246.4)
300  process.mixData.theLadderEfficiency_BPix1 = cms.vdouble(
301  0.979259,
302  0.976677,
303  0.979259,
304  0.976677,
305  0.979259,
306  0.976677,
307  0.979259,
308  0.976677,
309  0.979259,
310  0.976677,
311  0.979259,
312  0.976677,
313  0.979259,
314  0.976677,
315  0.979259,
316  0.976677,
317  0.979259,
318  0.976677,
319  0.979259,
320  0.976677,
321  )
322  process.mixData.theLadderEfficiency_BPix2 = cms.vdouble(
323  0.994321,
324  0.993944,
325  0.994321,
326  0.993944,
327  0.994321,
328  0.993944,
329  0.994321,
330  0.993944,
331  0.994321,
332  0.993944,
333  0.994321,
334  0.993944,
335  0.994321,
336  0.993944,
337  0.994321,
338  0.993944,
339  0.994321,
340  0.993944,
341  0.994321,
342  0.993944,
343  0.994321,
344  0.993944,
345  0.994321,
346  0.993944,
347  0.994321,
348  0.993944,
349  0.994321,
350  0.993944,
351  0.994321,
352  0.993944,
353  0.994321,
354  0.993944,
355  )
356  process.mixData.theLadderEfficiency_BPix3 = cms.vdouble(
357  0.996787,
358  0.996945,
359  0.996787,
360  0.996945,
361  0.996787,
362  0.996945,
363  0.996787,
364  0.996945,
365  0.996787,
366  0.996945,
367  0.996787,
368  0.996945,
369  0.996787,
370  0.996945,
371  0.996787,
372  0.996945,
373  0.996787,
374  0.996945,
375  0.996787,
376  0.996945,
377  0.996787,
378  0.996945,
379  0.996787,
380  0.996945,
381  0.996787,
382  0.996945,
383  0.996787,
384  0.996945,
385  0.996787,
386  0.996945,
387  0.996787,
388  0.996945,
389  0.996787,
390  0.996945,
391  0.996787,
392  0.996945,
393  0.996787,
394  0.996945,
395  0.996787,
396  0.996945,
397  0.996787,
398  0.996945,
399  0.996787,
400  0.996945,
401  )
402  return process
403 
def postLS1Customs.customise_Digi_Common (   process)

Definition at line 161 of file postLS1Customs.py.

References digiEventContent().

Referenced by customisePostLS1_Common().

162 def customise_Digi_Common(process):
163  process = digiEventContent(process)
164  if hasattr(process,'mix') and hasattr(process.mix,'digitizers'):
165  if hasattr(process.mix.digitizers,'hcal') and hasattr(process.mix.digitizers.hcal,'ho'):
166  process.mix.digitizers.hcal.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
167  process.mix.digitizers.hcal.ho.siPMCode = cms.int32(1)
168  process.mix.digitizers.hcal.ho.pixels = cms.int32(2500)
169  process.mix.digitizers.hcal.ho.doSiPMSmearing = cms.bool(False)
170  if hasattr(process.mix.digitizers,'hcal') and hasattr(process.mix.digitizers.hcal,'hf1'):
171  process.mix.digitizers.hcal.hf1.samplingFactor = cms.double(0.60)
172  if hasattr(process.mix.digitizers,'hcal') and hasattr(process.mix.digitizers.hcal,'hf2'):
173  process.mix.digitizers.hcal.hf2.samplingFactor = cms.double(0.60)
174  return process
def postLS1Customs.customise_DigiToRaw (   process)

Definition at line 700 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

701 def customise_DigiToRaw(process):
702  return process
703 
def postLS1Customs.customise_DQM (   process)

Definition at line 130 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

131 def customise_DQM(process):
132  #process.dqmoffline_step.remove(process.jetMETAnalyzer)
133  # Turn off flag of gangedME11a
134  process.l1tCsctf.gangedME11a = cms.untracked.bool(False)
135  # Turn off "low bias voltage" region in HCAL noise filters
136  if hasattr(process,'HBHENoiseFilterResultProducer'):
137  process.HBHENoiseFilterResultProducer.IgnoreTS4TS5ifJetInLowBVRegion = cms.bool(False)
138  return process
139 
def postLS1Customs.customise_DQM_25ns (   process)

Definition at line 140 of file postLS1Customs.py.

Referenced by customisePostLS1().

141 def customise_DQM_25ns(process):
142  # Switch the default decision of the HCAL noise filter
143  if hasattr(process,'HBHENoiseFilterResultProducer'):
144  process.HBHENoiseFilterResultProducer.defaultDecision = cms.string("HBHENoiseFilterResultRun2Loose")
145  return process
146 
def postLS1Customs.customise_harvesting (   process)

Definition at line 742 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

743 def customise_harvesting(process):
744  #process.dqmHarvesting.remove(process.dataCertificationJetMET)
745  #process.dqmHarvesting.remove(process.sipixelEDAClient)
746  #process.dqmHarvesting.remove(process.sipixelCertification)
747  return (process)
748 
def postLS1Customs.customise_HLT (   process)

Definition at line 704 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

705 def customise_HLT(process):
706  return process
707 
def postLS1Customs.customise_L1Emulator (   process)

Definition at line 691 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

692 def customise_L1Emulator(process):
693  return process
694 
def postLS1Customs.customise_RawToDigi (   process)

Definition at line 695 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

696 def customise_RawToDigi(process):
697  process.RawToDigi.remove(process.gtEvmDigis)
698  return process
699 
def postLS1Customs.customise_Reco (   process)

Definition at line 708 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

709 def customise_Reco(process):
710  #lowering HO threshold with SiPM
711  if hasattr(process,'particleFlowRecHitHO'):
712  for prod in process.particleFlowRecHitHO.producers:
713  prod.qualityTests = cms.VPSet(
714  cms.PSet(
715  name = cms.string("PFRecHitQTestThreshold"),
716  threshold = cms.double(0.05) # new threshold for SiPM HO
717  ),
718  cms.PSet(
719  name = cms.string("PFRecHitQTestHCALChannel"),
720  maxSeverities = cms.vint32(11),
721  cleaningThresholds = cms.vdouble(0.0),
722  flags = cms.vstring('Standard')
723  )
724  )
725 
726  #Lower Thresholds also for Clusters!!!
727 
728  for p in process.particleFlowClusterHO.seedFinder.thresholdsByDetector:
729  p.seedingThreshold = cms.double(0.08)
730 
731  for p in process.particleFlowClusterHO.initialClusteringStep.thresholdsByDetector:
732  p.gatheringThreshold = cms.double(0.05)
733 
734  for p in process.particleFlowClusterHO.pfClusterBuilder.recHitEnergyNorms:
735  p.recHitEnergyNorm = cms.double(0.05)
736 
737  process.particleFlowClusterHO.pfClusterBuilder.positionCalc.logWeightDenominator = cms.double(0.05)
738  process.particleFlowClusterHO.pfClusterBuilder.allCellsPositionCalc.logWeightDenominator = cms.double(0.05)
739 
740  return process
741 
def postLS1Customs.customise_Sim (   process)

Definition at line 155 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

156 def customise_Sim(process):
157  # enable 2015 HF shower library
158  process.g4SimHits.HFShowerLibrary.FileName = 'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en_v3.root'
159  return process
160 
def postLS1Customs.customise_Validation (   process)

Definition at line 147 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

148 def customise_Validation(process):
149  #process.validation_step.remove(process.PixelTrackingRecHitsValid)
150  # We don't run the HLT
151  #process.validation_step.remove(process.HLTSusyExoVal)
152  #process.validation_step.remove(process.hltHiggsValidator)
153  return process
154 
def postLS1Customs.customisePostLS1 (   process)

Definition at line 46 of file postLS1Customs.py.

References customise_Digi_25ns(), customise_DQM_25ns(), and customisePostLS1_Common().

Referenced by combinedCustoms.cust_2017(), combinedCustoms.cust_2019(), and postLS1CustomsPreMixing.customisePostLS1().

46 
47 def customisePostLS1(process):
48 
49  # common customisation
50  process = customisePostLS1_Common(process)
51 
52  # 25ns specific customisation
53  if hasattr(process,'digitisation_step'):
54  process = customise_Digi_25ns(process)
55  if hasattr(process,'dqmoffline_step'):
56  process = customise_DQM_25ns(process)
57 
58  return process
59 
def customisePostLS1_Common
def postLS1Customs.customisePostLS1_50ns (   process)

Definition at line 72 of file postLS1Customs.py.

References customise_Digi_50ns(), and customisePostLS1_Common().

Referenced by postLS1CustomsPreMixing.customisePostLS1_50ns(), and customisePostLS1_B0T().

72 
73 def customisePostLS1_50ns(process):
74 
75  # common customisations
76  process = customisePostLS1_Common(process)
77 
78  # 50ns specific customisation
79  if hasattr(process,'digitisation_step'):
80  process = customise_Digi_50ns(process)
81 
82  return process
83 
def customisePostLS1_Common
def postLS1Customs.customisePostLS1_B0T (   process)

Definition at line 99 of file postLS1Customs.py.

References customisePostLS1_50ns().

99 
100 def customisePostLS1_B0T(process):
101  # 50ns only
102 
103  process=customisePostLS1_50ns(process)
104  process=customiseForRunI(process)
105 
106  return process
def postLS1Customs.customisePostLS1_B0T_lowPU (   process)

Definition at line 107 of file postLS1Customs.py.

References customisePostLS1_lowPU().

108 def customisePostLS1_B0T_lowPU(process):
109  # 50ns only
110 
111  process=customisePostLS1_lowPU(process)
112  process=customiseForRunI(process)
113 
114  return process
115 
def customisePostLS1_lowPU
def customisePostLS1_B0T_lowPU
def postLS1Customs.customisePostLS1_Common (   process)

Definition at line 5 of file postLS1Customs.py.

References muonCustoms.customise_csc_PostLS1(), customise_DataMix(), customise_Digi_Common(), customise_DigiToRaw(), customise_DQM(), fastSimCustoms.customise_fastSimPostLS1(), customise_harvesting(), customise_HLT(), customise_L1Emulator(), customise_RawToDigi(), customise_Reco(), customise_Sim(), customise_Validation(), and customsPostLS1.customiseSimL1EmulatorForStage1().

Referenced by customisePostLS1(), customisePostLS1_50ns(), customisePostLS1_HI(), and customisePostLS1_lowPU().

5 
6 def customisePostLS1_Common(process):
7 
8  # deal with L1 Emulation separately
9  from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForStage1
10  process = customiseSimL1EmulatorForStage1(process)
11 
12  # deal with CSC separately
13  from SLHCUpgradeSimulations.Configuration.muonCustoms import customise_csc_PostLS1
14  process = customise_csc_PostLS1(process)
15 
16  # deal with FastSim separately
17  from SLHCUpgradeSimulations.Configuration.fastSimCustoms import customise_fastSimPostLS1
18  process = customise_fastSimPostLS1(process)
19 
20  # all the rest
21  if hasattr(process,'g4SimHits'):
22  process = customise_Sim(process)
23  if hasattr(process,'DigiToRaw'):
24  process = customise_DigiToRaw(process)
25  if hasattr(process,'RawToDigi'):
26  process = customise_RawToDigi(process)
27  if hasattr(process,'reconstruction'):
28  process = customise_Reco(process)
29  if hasattr(process,'digitisation_step') or ( hasattr(process,'mix') and hasattr(process.mix,'digitizers')):
30  process = customise_Digi_Common(process)
31  if hasattr(process,'HLTSchedule'):
32  process = customise_HLT(process)
33  if hasattr(process,'L1simulation_step'):
34  process = customise_L1Emulator(process)
35  if hasattr(process,'dqmoffline_step'):
36  process = customise_DQM(process)
37  if hasattr(process,'dqmHarvesting'):
38  process = customise_harvesting(process)
39  if hasattr(process,'validation_step'):
40  process = customise_Validation(process)
41  if hasattr(process,'datamixing_step'):
42  process = customise_DataMix(process)
43 
44  return process
45 
def customisePostLS1_Common
def customiseSimL1EmulatorForStage1
def customise_csc_PostLS1
Definition: muonCustoms.py:233
def customise_fastSimPostLS1
def postLS1Customs.customisePostLS1_HI (   process)

Definition at line 84 of file postLS1Customs.py.

References customisePostLS1_Common(), and customsPostLS1.customiseSimL1EmulatorForPostLS1_Additional_HI().

Referenced by postLS1CustomsPreMixing.customisePostLS1_HI().

84 
85 def customisePostLS1_HI(process):
86 
87  # common customisation
88  process = customisePostLS1_Common(process)
89 
90  # HI Specific additional customizations:
91  from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForPostLS1_Additional_HI
93 
94  # HI L1Menu:
95  #from L1Trigger.Configuration.customise_overwriteL1Menu import L1Menu_CollisionsHeavyIons2015_v0
96  #process = L1Menu_CollisionsHeavyIons2015_v0(process)
97 
98  return process
def customisePostLS1_Common
def customiseSimL1EmulatorForPostLS1_Additional_HI
def postLS1Customs.customisePostLS1_lowPU (   process)

Definition at line 60 of file postLS1Customs.py.

References customise_Digi_50ns(), and customisePostLS1_Common().

Referenced by customisePostLS1_B0T_lowPU().

60 
61 def customisePostLS1_lowPU(process):
62 
63  # common customisations
64  process = customisePostLS1_Common(process)
65 
66  # 50ns specific customisation
67  if hasattr(process,'digitisation_step'):
68  process = customise_Digi_50ns(process)
69 
70  return process
71 
def customisePostLS1_lowPU
def customisePostLS1_Common
def postLS1Customs.digiEventContent (   process)

Definition at line 116 of file postLS1Customs.py.

Referenced by customise_Digi_Common().

117 def digiEventContent(process):
118  #extend the event content
119 
120  alist=['RAWDEBUG','FEVTDEBUG','FEVTDEBUGHLT','GENRAW','RAWSIMHLT','FEVT']
121  for a in alist:
122  b = a + 'output'
123  if hasattr(process,b):
124  getattr(process,b).outputCommands.append('keep *_simMuonCSCDigis_*_*')
125  getattr(process,b).outputCommands.append('keep *_simMuonRPCDigis_*_*')
126  getattr(process,b).outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*')
127 
128  return process
129 
def postLS1Customs.recoOutputCustoms (   process)

Definition at line 749 of file postLS1Customs.py.

750 def recoOutputCustoms(process):
751 
752  alist=['AODSIM','RECOSIM','FEVTSIM','FEVTDEBUG','FEVTDEBUGHLT','RECODEBUG','RAWRECOSIMHLT','RAWRECODEBUGHLT']
753  for a in alist:
754  b = a + 'output'
755  if hasattr(process,b):
756  getattr(process,b).outputCommands.append('keep *_simMuonCSCDigis_*_*')
757  getattr(process,b).outputCommands.append('keep *_simMuonRPCDigis_*_*')
758  getattr(process,b).outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*')
759  getattr(process,b).outputCommands.append('keep *_rawDataCollector_*_*')
760  return process