1 import FWCore.ParameterSet.Config
as cms
3 if hasattr(process,
'digitisation_step') :
5 if hasattr(process,
'L1simulation_step') :
7 if hasattr(process,
'dqmHarvesting'):
9 if hasattr(process,
'validation_step'):
13 from SimMuon.GEMDigitizer.customizeGEMDigi
import customize_digi_addGEM_muon_only
14 if (hasattr(process,
"simMuonGEMDigis")) :
15 if (
not hasattr(process.simMuonGEMDigis,
"mixLabel")) :
16 process.simMuonGEMDigis.mixLabel = cms.string(
"mix")
17 if ( hasattr(process,
"simMuonME0Digis")) :
18 if (
not hasattr(process.simMuonME0Digis,
"mixLabel")) :
19 process.simMuonME0Digis.mixLabel = cms.string(
"mix")
23 if (
not hasattr(process,
'caloConfigSource')) :
24 process.load(
'L1Trigger.L1TCalorimeter.caloConfigStage1PP_cfi')
26 process.simCscTriggerPrimitiveDigis = cscTriggerPrimitiveDigis
27 process.simCscTriggerPrimitiveDigis.commonParam.isSLHC =
True
28 process.simCscTriggerPrimitiveDigis.commonParam.smartME1aME1b =
True
30 from Validation.MuonGEMDigis.MuonGEMDigis_cff
import me11tmbSLHCGEM
31 process.simCscTriggerPrimitiveDigis.commonParam.runME11ILT = cms.bool(
True)
32 process.simCscTriggerPrimitiveDigis.me11tmbSLHCGEM = me11tmbSLHCGEM
33 process.simCscTriggerPrimitiveDigis.clctSLHC.clctNplanesHitPattern = 3
34 process.simCscTriggerPrimitiveDigis.clctSLHC.clctPidThreshPretrig = 2
35 process.simCscTriggerPrimitiveDigis.clctParam07.clctPidThreshPretrig = 2
36 process.simCscTriggerPrimitiveDigis.GEMPadDigiProducer =
"simMuonGEMPadDigis"
38 from Validation.MuonGEMDigis.MuonGEMDigis_cff
import me21tmbSLHCGEM
39 process.simCscTriggerPrimitiveDigis.commonParam.runME21ILT = cms.bool(
True)
40 process.simCscTriggerPrimitiveDigis.me21tmbSLHCGEM = me21tmbSLHCGEM
42 process.simCscTriggerPrimitiveDigis.alctSLHCME21 = process.simCscTriggerPrimitiveDigis.alctSLHC.clone()
43 process.simCscTriggerPrimitiveDigis.clctSLHCME21 = process.simCscTriggerPrimitiveDigis.clctSLHC.clone()
44 process.simCscTriggerPrimitiveDigis.alctSLHCME21.alctNplanesHitPattern = 3
46 process.simCscTriggerPrimitiveDigis.clctSLHCME21.clctNplanesHitPattern = 3
47 process.simCscTriggerPrimitiveDigis.clctSLHCME21.clctPidThreshPretrig = 2
51 process.load(
'Validation.MuonGEMHits.gemSimValid_cff')
52 process.genvalid_all += process.gemSimValid
53 if ( hasattr(process,
"me0SimValid") ) :
54 process.genvalid_all += process.me0SimValid
58 process.load(
'Validation.MuonGEMHits.gemPostValidation_cff')
59 process.genHarvesting += process.gemPostValidation
60 process.load(
'DQMServices.Components.EDMtoMEConverter_cff')
61 process.genHarvesting += process.EDMtoMEConverter
def customise_L1simulation
def customise_digitization