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 225 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

226 def customise_DataMix(process):
227  if hasattr(process,'mixData'):
228  if hasattr(process.mixData,'ho'):
229  process.mixData.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
230  process.mixData.ho.siPMCode = cms.int32(1)
231  process.mixData.ho.pixels = cms.int32(2500)
232  process.mixData.ho.doSiPMSmearing = cms.bool(False)
233  if hasattr(process.mixData,'hf1'):
234  process.mixData.hf1.samplingFactor = cms.double(0.60)
235  if hasattr(process.mixData,'hf2'):
236  process.mixData.hf2.samplingFactor = cms.double(0.60)
237  return process
238 
def postLS1Customs.customise_Digi_25ns (   process)

Definition at line 454 of file postLS1Customs.py.

Referenced by customisePostLS1().

455 def customise_Digi_25ns(process):
456  if hasattr(process,'mix') and hasattr(process.mix,'digitizers'):
457  if hasattr(process.mix.digitizers,'pixel'):
458  # pixel dynamic inefficency - 13TeV - 25ns case
459  process.mix.digitizers.pixel.theInstLumiScaleFactor = cms.double(364)
460  process.mix.digitizers.pixel.theLadderEfficiency_BPix1 = cms.vdouble(
461  1,
462  1,
463  1,
464  1,
465  1,
466  1,
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  )
482  process.mix.digitizers.pixel.theLadderEfficiency_BPix2 = cms.vdouble(
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  1,
512  1,
513  1,
514  1,
515  )
516  process.mix.digitizers.pixel.theLadderEfficiency_BPix3 = cms.vdouble(
517  1,
518  1,
519  1,
520  1,
521  1,
522  1,
523  1,
524  1,
525  1,
526  1,
527  1,
528  1,
529  1,
530  1,
531  1,
532  1,
533  1,
534  1,
535  1,
536  1,
537  1,
538  1,
539  1,
540  1,
541  1,
542  1,
543  1,
544  1,
545  1,
546  1,
547  1,
548  1,
549  1,
550  1,
551  1,
552  1,
553  1,
554  1,
555  1,
556  1,
557  1,
558  1,
559  1,
560  1,
561  )
562  process.mix.digitizers.pixel.theModuleEfficiency_BPix1 = cms.vdouble(
563  1,
564  1,
565  1,
566  1,
567  )
568  process.mix.digitizers.pixel.theModuleEfficiency_BPix2 = cms.vdouble(
569  1,
570  1,
571  1,
572  1,
573  )
574  process.mix.digitizers.pixel.theModuleEfficiency_BPix3 = cms.vdouble(
575  1,
576  1,
577  1,
578  1,
579  )
580  process.mix.digitizers.pixel.thePUEfficiency_BPix1 = cms.vdouble(
581  1.00023,
582  -3.18350e-06,
583  5.08503e-10,
584  -6.79785e-14,
585  )
586  process.mix.digitizers.pixel.thePUEfficiency_BPix2 = cms.vdouble(
587  9.99974e-01,
588  -8.91313e-07,
589  5.29196e-12,
590  -2.28725e-15,
591  )
592  process.mix.digitizers.pixel.thePUEfficiency_BPix3 = cms.vdouble(
593  1.00005,
594  -6.59249e-07,
595  2.75277e-11,
596  -1.62683e-15,
597  )
598  if hasattr(process,'mixData'):
599  # pixel dynamic inefficency - 13TeV - 25ns case
600  process.mixData.theInstLumiScaleFactor = cms.double(364)
601  process.mixData.theLadderEfficiency_BPix1 = cms.vdouble(
602  1,
603  1,
604  1,
605  1,
606  1,
607  1,
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  )
623  process.mixData.theLadderEfficiency_BPix2 = cms.vdouble(
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  1,
653  1,
654  1,
655  1,
656  )
657  process.mixData.theLadderEfficiency_BPix3 = cms.vdouble(
658  1,
659  1,
660  1,
661  1,
662  1,
663  1,
664  1,
665  1,
666  1,
667  1,
668  1,
669  1,
670  1,
671  1,
672  1,
673  1,
674  1,
675  1,
676  1,
677  1,
678  1,
679  1,
680  1,
681  1,
682  1,
683  1,
684  1,
685  1,
686  1,
687  1,
688  1,
689  1,
690  1,
691  1,
692  1,
693  1,
694  1,
695  1,
696  1,
697  1,
698  1,
699  1,
700  1,
701  1,
702  )
703  process.mixData.theModuleEfficiency_BPix1 = cms.vdouble(
704  1,
705  1,
706  1,
707  1,
708  )
709  process.mixData.theModuleEfficiency_BPix2 = cms.vdouble(
710  1,
711  1,
712  1,
713  1,
714  )
715  process.mixData.theModuleEfficiency_BPix3 = cms.vdouble(
716  1,
717  1,
718  1,
719  1,
720  )
721  process.mixData.thePUEfficiency_BPix1 = cms.vdouble(
722  1.00023,
723  -3.18350e-06,
724  5.08503e-10,
725  -6.79785e-14,
726  )
727  process.mixData.thePUEfficiency_BPix2 = cms.vdouble(
728  9.99974e-01,
729  -8.91313e-07,
730  5.29196e-12,
731  -2.28725e-15,
732  )
733  process.mixData.thePUEfficiency_BPix3 = cms.vdouble(
734  1.00005,
735  -6.59249e-07,
736  2.75277e-11,
737  -1.62683e-15,
738  )
739  return process
740 
def postLS1Customs.customise_Digi_50ns (   process)

Definition at line 239 of file postLS1Customs.py.

Referenced by customisePostLS1_50ns(), and customisePostLS1_lowPU().

240 def customise_Digi_50ns(process):
241  if hasattr(process,'mix') and hasattr(process.mix,'digitizers'):
242  if hasattr(process.mix.digitizers,'pixel'):
243  # pixel dynamic inefficency - 13TeV - 50ns case
244  process.mix.digitizers.pixel.theInstLumiScaleFactor = cms.double(246.4)
245  process.mix.digitizers.pixel.theLadderEfficiency_BPix1 = cms.vdouble(
246  0.979259,
247  0.976677,
248  0.979259,
249  0.976677,
250  0.979259,
251  0.976677,
252  0.979259,
253  0.976677,
254  0.979259,
255  0.976677,
256  0.979259,
257  0.976677,
258  0.979259,
259  0.976677,
260  0.979259,
261  0.976677,
262  0.979259,
263  0.976677,
264  0.979259,
265  0.976677,
266  )
267  process.mix.digitizers.pixel.theLadderEfficiency_BPix2 = cms.vdouble(
268  0.994321,
269  0.993944,
270  0.994321,
271  0.993944,
272  0.994321,
273  0.993944,
274  0.994321,
275  0.993944,
276  0.994321,
277  0.993944,
278  0.994321,
279  0.993944,
280  0.994321,
281  0.993944,
282  0.994321,
283  0.993944,
284  0.994321,
285  0.993944,
286  0.994321,
287  0.993944,
288  0.994321,
289  0.993944,
290  0.994321,
291  0.993944,
292  0.994321,
293  0.993944,
294  0.994321,
295  0.993944,
296  0.994321,
297  0.993944,
298  0.994321,
299  0.993944,
300  )
301  process.mix.digitizers.pixel.theLadderEfficiency_BPix3 = cms.vdouble(
302  0.996787,
303  0.996945,
304  0.996787,
305  0.996945,
306  0.996787,
307  0.996945,
308  0.996787,
309  0.996945,
310  0.996787,
311  0.996945,
312  0.996787,
313  0.996945,
314  0.996787,
315  0.996945,
316  0.996787,
317  0.996945,
318  0.996787,
319  0.996945,
320  0.996787,
321  0.996945,
322  0.996787,
323  0.996945,
324  0.996787,
325  0.996945,
326  0.996787,
327  0.996945,
328  0.996787,
329  0.996945,
330  0.996787,
331  0.996945,
332  0.996787,
333  0.996945,
334  0.996787,
335  0.996945,
336  0.996787,
337  0.996945,
338  0.996787,
339  0.996945,
340  0.996787,
341  0.996945,
342  0.996787,
343  0.996945,
344  0.996787,
345  0.996945,
346  )
347  if hasattr(process,'mixData'):
348  # pixel dynamic inefficency - 13TeV - 50ns case
349  process.mixData.theInstLumiScaleFactor = cms.double(246.4)
350  process.mixData.theLadderEfficiency_BPix1 = cms.vdouble(
351  0.979259,
352  0.976677,
353  0.979259,
354  0.976677,
355  0.979259,
356  0.976677,
357  0.979259,
358  0.976677,
359  0.979259,
360  0.976677,
361  0.979259,
362  0.976677,
363  0.979259,
364  0.976677,
365  0.979259,
366  0.976677,
367  0.979259,
368  0.976677,
369  0.979259,
370  0.976677,
371  )
372  process.mixData.theLadderEfficiency_BPix2 = cms.vdouble(
373  0.994321,
374  0.993944,
375  0.994321,
376  0.993944,
377  0.994321,
378  0.993944,
379  0.994321,
380  0.993944,
381  0.994321,
382  0.993944,
383  0.994321,
384  0.993944,
385  0.994321,
386  0.993944,
387  0.994321,
388  0.993944,
389  0.994321,
390  0.993944,
391  0.994321,
392  0.993944,
393  0.994321,
394  0.993944,
395  0.994321,
396  0.993944,
397  0.994321,
398  0.993944,
399  0.994321,
400  0.993944,
401  0.994321,
402  0.993944,
403  0.994321,
404  0.993944,
405  )
406  process.mixData.theLadderEfficiency_BPix3 = cms.vdouble(
407  0.996787,
408  0.996945,
409  0.996787,
410  0.996945,
411  0.996787,
412  0.996945,
413  0.996787,
414  0.996945,
415  0.996787,
416  0.996945,
417  0.996787,
418  0.996945,
419  0.996787,
420  0.996945,
421  0.996787,
422  0.996945,
423  0.996787,
424  0.996945,
425  0.996787,
426  0.996945,
427  0.996787,
428  0.996945,
429  0.996787,
430  0.996945,
431  0.996787,
432  0.996945,
433  0.996787,
434  0.996945,
435  0.996787,
436  0.996945,
437  0.996787,
438  0.996945,
439  0.996787,
440  0.996945,
441  0.996787,
442  0.996945,
443  0.996787,
444  0.996945,
445  0.996787,
446  0.996945,
447  0.996787,
448  0.996945,
449  0.996787,
450  0.996945,
451  )
452  return process
453 
def postLS1Customs.customise_Digi_Common (   process)

Definition at line 211 of file postLS1Customs.py.

References digiEventContent().

Referenced by customisePostLS1_Common().

212 def customise_Digi_Common(process):
213  process = digiEventContent(process)
214  if hasattr(process,'mix') and hasattr(process.mix,'digitizers'):
215  if hasattr(process.mix.digitizers,'hcal') and hasattr(process.mix.digitizers.hcal,'ho'):
216  process.mix.digitizers.hcal.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
217  process.mix.digitizers.hcal.ho.siPMCode = cms.int32(1)
218  process.mix.digitizers.hcal.ho.pixels = cms.int32(2500)
219  process.mix.digitizers.hcal.ho.doSiPMSmearing = cms.bool(False)
220  if hasattr(process.mix.digitizers,'hcal') and hasattr(process.mix.digitizers.hcal,'hf1'):
221  process.mix.digitizers.hcal.hf1.samplingFactor = cms.double(0.60)
222  if hasattr(process.mix.digitizers,'hcal') and hasattr(process.mix.digitizers.hcal,'hf2'):
223  process.mix.digitizers.hcal.hf2.samplingFactor = cms.double(0.60)
224  return process
def postLS1Customs.customise_DigiToRaw (   process)

Definition at line 750 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

751 def customise_DigiToRaw(process):
752  return process
753 
def postLS1Customs.customise_DQM (   process)

Definition at line 183 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

184 def customise_DQM(process):
185  #process.dqmoffline_step.remove(process.jetMETAnalyzer)
186  # Turn off flag of gangedME11a
187  process.l1tCsctf.gangedME11a = cms.untracked.bool(False)
188  # Turn off "low bias voltage" region in HCAL noise filters
189  if hasattr(process,'HBHENoiseFilterResultProducer'):
190  process.HBHENoiseFilterResultProducer.IgnoreTS4TS5ifJetInLowBVRegion = cms.bool(False)
191  return process
192 
def postLS1Customs.customise_DQM_25ns (   process)

Definition at line 193 of file postLS1Customs.py.

Referenced by RecoTLR.customiseDataRun2Common_25ns(), and customisePostLS1().

194 def customise_DQM_25ns(process):
195  #Empty place-holder
196  return process
197 
def postLS1Customs.customise_harvesting (   process)

Definition at line 796 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

797 def customise_harvesting(process):
798  #process.dqmHarvesting.remove(process.dataCertificationJetMET)
799  #process.dqmHarvesting.remove(process.sipixelEDAClient)
800  #process.dqmHarvesting.remove(process.sipixelCertification)
801  return (process)
802 
def postLS1Customs.customise_HLT (   process)

Definition at line 754 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

755 def customise_HLT(process):
756  return process
757 
def postLS1Customs.customise_L1Emulator (   process)

Definition at line 741 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

742 def customise_L1Emulator(process):
743  return process
744 
def postLS1Customs.customise_RawToDigi (   process)

Definition at line 745 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

746 def customise_RawToDigi(process):
747  process.RawToDigi.remove(process.gtEvmDigis)
748  return process
749 
def postLS1Customs.customise_Reco (   process)

Definition at line 758 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

759 def customise_Reco(process):
760  #lowering HO threshold with SiPM
761  if hasattr(process,'particleFlowRecHitHO'):
762  for prod in process.particleFlowRecHitHO.producers:
763  prod.qualityTests = cms.VPSet(
764  cms.PSet(
765  name = cms.string("PFRecHitQTestThreshold"),
766  threshold = cms.double(0.05) # new threshold for SiPM HO
767  ),
768  cms.PSet(
769  name = cms.string("PFRecHitQTestHCALChannel"),
770  maxSeverities = cms.vint32(11),
771  cleaningThresholds = cms.vdouble(0.0),
772  flags = cms.vstring('Standard')
773  )
774  )
775 
776  #Lower Thresholds also for Clusters!!!
777 
778  for p in process.particleFlowClusterHO.seedFinder.thresholdsByDetector:
779  p.seedingThreshold = cms.double(0.08)
780 
781  for p in process.particleFlowClusterHO.initialClusteringStep.thresholdsByDetector:
782  p.gatheringThreshold = cms.double(0.05)
783 
784  for p in process.particleFlowClusterHO.pfClusterBuilder.recHitEnergyNorms:
785  p.recHitEnergyNorm = cms.double(0.05)
786 
787  process.particleFlowClusterHO.pfClusterBuilder.positionCalc.logWeightDenominator = cms.double(0.05)
788  process.particleFlowClusterHO.pfClusterBuilder.allCellsPositionCalc.logWeightDenominator = cms.double(0.05)
789 
790  # Muon reconstruction do not exclude bad chambers
791  if hasattr(process, 'muonDetIdAssociator'):
792  process.muonDetIdAssociator.includeBadChambers = cms.bool(True)
793 
794  return process
795 
def postLS1Customs.customise_Sim (   process)

Definition at line 206 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

207 def customise_Sim(process):
208  # enable 2015 HF shower library
209  process.g4SimHits.HFShowerLibrary.FileName = 'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en_v3.root'
210  return process
def postLS1Customs.customise_Validation (   process)

Definition at line 198 of file postLS1Customs.py.

Referenced by customisePostLS1_Common().

199 def customise_Validation(process):
200  #process.validation_step.remove(process.PixelTrackingRecHitsValid)
201  # We don't run the HLT
202  #process.validation_step.remove(process.HLTSusyExoVal)
203  #process.validation_step.remove(process.hltHiggsValidator)
204  return process
205 
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  print """
49  #
50  # -- Warning! You are using a deprecated customisation function. --
51  #
52  # It will probably run fine, but the customisations you are getting may be out of date.
53  # You should update your configuration file by
54  # If using cmsDriver:
55  # 1) remove the "--customise SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1" option
56  # 2) add the option "--era Run2_25ns"
57  # If using a pre-made configuration file:
58  # 1) remove or comment out the "process = customisePostLS1(process)" line.
59  # 2) add "from Configuration.StandardSequences.Eras import eras" to the TOP of the config file (above
60  # the process declaration).
61  # 3) add "eras.Run2_25ns" as a parameter to the process object, e.g. "process = cms.Process('HLT',eras.Run2_25ns)"
62  #
63  # There is more information at https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideCmsDriverEras
64  #
65  """
66  # common customisation
67  process = customisePostLS1_Common(process)
68 
69  # 25ns specific customisation
70  if hasattr(process,'digitisation_step'):
71  process = customise_Digi_25ns(process)
72  if hasattr(process,'dqmoffline_step'):
73  process = customise_DQM_25ns(process)
74 
75  return process
76 
def customisePostLS1_Common
def postLS1Customs.customisePostLS1_50ns (   process)

Definition at line 89 of file postLS1Customs.py.

References customise_Digi_50ns(), and customisePostLS1_Common().

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

89 
90 def customisePostLS1_50ns(process):
91  print """
92  #
93  # -- Warning! You are using a deprecated customisation function. --
94  #
95  # It will probably run fine, but the customisations you are getting may be out of date.
96  # You should update your configuration file by
97  # If using cmsDriver:
98  # 1) remove the "--customise SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1_50ns" option
99  # 2) add the option "--era Run2_50ns"
100  # If using a pre-made configuration file:
101  # 1) remove or comment out the "process = customisePostLS1_50ns(process)" line.
102  # 2) add "from Configuration.StandardSequences.Eras import eras" to the TOP of the config file (above
103  # the process declaration).
104  # 3) add "eras.Run2_50ns" as a parameter to the process object, e.g. "process = cms.Process('HLT',eras.Run2_50ns)"
105  #
106  # There is more information at https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideCmsDriverEras
107  #
108  """
109 
110  # common customisations
111  process = customisePostLS1_Common(process)
112 
113  # 50ns specific customisation
114  if hasattr(process,'digitisation_step'):
115  process = customise_Digi_50ns(process)
116 
117  return process
118 
def customisePostLS1_Common
def postLS1Customs.customisePostLS1_B0T (   process)

Definition at line 152 of file postLS1Customs.py.

References customisePostLS1_50ns().

153 def customisePostLS1_B0T(process):
154  # 50ns only
155 
156  process=customisePostLS1_50ns(process)
157  process=customiseForRunI(process)
158 
159  return process
def postLS1Customs.customisePostLS1_B0T_lowPU (   process)

Definition at line 160 of file postLS1Customs.py.

References customisePostLS1_lowPU().

161 def customisePostLS1_B0T_lowPU(process):
162  # 50ns only
163 
164  process=customisePostLS1_lowPU(process)
165  process=customiseForRunI(process)
166 
167  return process
168 
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 119 of file postLS1Customs.py.

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

Referenced by postLS1CustomsPreMixing.customisePostLS1_HI().

120 def customisePostLS1_HI(process):
121  print """
122  #
123  # -- Warning! You are using a deprecated customisation function. --
124  #
125  # It will probably run fine, but the customisations you are getting may be out of date.
126  # You should update your configuration file by
127  # If using cmsDriver:
128  # 1) remove the "--customise SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1_HI" option
129  # 2) add the option "--era Run2_HI"
130  # If using a pre-made configuration file:
131  # 1) remove or comment out the "process = customisePostLS1_HI(process)" line.
132  # 2) add "from Configuration.StandardSequences.Eras import eras" to the TOP of the config file (above
133  # the process declaration).
134  # 3) add "eras.Run2_HI" as a parameter to the process object, e.g. "process = cms.Process('HLT',eras.Run2_HI)"
135  #
136  # There is more information at https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideCmsDriverEras
137  #
138  """
139 
140  # common customisation
141  process = customisePostLS1_Common(process)
142 
143  # HI Specific additional customizations:
144  from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForPostLS1_Additional_HI
146 
147  # HI L1Menu:
148  #from L1Trigger.Configuration.customise_overwriteL1Menu import L1Menu_CollisionsHeavyIons2015_v0
149  #process = L1Menu_CollisionsHeavyIons2015_v0(process)
150 
151  return process
def customisePostLS1_Common
def customiseSimL1EmulatorForPostLS1_Additional_HI
def postLS1Customs.customisePostLS1_lowPU (   process)

Definition at line 77 of file postLS1Customs.py.

References customise_Digi_50ns(), and customisePostLS1_Common().

Referenced by customisePostLS1_B0T_lowPU().

77 
78 def customisePostLS1_lowPU(process):
79 
80  # common customisations
81  process = customisePostLS1_Common(process)
82 
83  # 50ns specific customisation
84  if hasattr(process,'digitisation_step'):
85  process = customise_Digi_50ns(process)
86 
87  return process
88 
def customisePostLS1_lowPU
def customisePostLS1_Common
def postLS1Customs.digiEventContent (   process)

Definition at line 169 of file postLS1Customs.py.

Referenced by customise_Digi_Common().

170 def digiEventContent(process):
171  #extend the event content
172 
173  alist=['RAWDEBUG','FEVTDEBUG','FEVTDEBUGHLT','GENRAW','RAWSIMHLT','FEVT']
174  for a in alist:
175  b = a + 'output'
176  if hasattr(process,b):
177  getattr(process,b).outputCommands.append('keep *_simMuonCSCDigis_*_*')
178  getattr(process,b).outputCommands.append('keep *_simMuonRPCDigis_*_*')
179  getattr(process,b).outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*')
180 
181  return process
182 
def postLS1Customs.recoOutputCustoms (   process)

Definition at line 803 of file postLS1Customs.py.

804 def recoOutputCustoms(process):
805 
806  alist=['AODSIM','RECOSIM','FEVTSIM','FEVTDEBUG','FEVTDEBUGHLT','RECODEBUG','RAWRECOSIMHLT','RAWRECODEBUGHLT']
807  for a in alist:
808  b = a + 'output'
809  if hasattr(process,b):
810  getattr(process,b).outputCommands.append('keep *_simMuonCSCDigis_*_*')
811  getattr(process,b).outputCommands.append('keep *_simMuonRPCDigis_*_*')
812  getattr(process,b).outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*')
813  getattr(process,b).outputCommands.append('keep *_rawDataCollector_*_*')
814  return process