Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:21

0001 import FWCore.ParameterSet.Config as cms
0002 def customise2023(process):
0003  # if hasattr(process,'digitisation_step') :
0004  #   process=customise_digitization(process)
0005   if hasattr(process,'dqmHarvesting'):
0006     process=customise_harvesting(process)
0007   if hasattr(process,'validation_step'):
0008     process=customise_Validation(process)
0009   return process
0010 def customise_digitization(process):
0011   from SimMuon.GEMDigitizer.customizeGEMDigi import customize_digi_addGEM_muon_only
0012   process = customize_digi_addGEM_muon_only(process)
0013   process.simMuonGEMDigis.mixLabel = cms.string("mix")
0014   #process.simMuonRPCDigis.digiModel = cms.string('RPCSimParam')
0015   #process.simMuonME0PseudoDigis.mixLabel = cms.string("mix")
0016   process.digitisation_step.remove(process.simMuonRPCDigis)
0017   return process
0018 
0019 def customise_Validation(process):
0020   #process.load('Validation.MuonGEMHits.MuonGEMHits_cfi')
0021   process.load('Validation.MuonME0Validation.me0SimValid_cff')
0022   process.genvalid_all += process.me0SimValid
0023   return process
0024 
0025 def customise_harvesting(process):
0026   #process.load('Validation.MuonGEMHits.MuonGEMHits_cfi')
0027   #process.load('Validation.MuonME0Hits.me0PostValidation_cff')
0028   #process.genHarvesting += process.me0PostValidation
0029   process.load('DQMServices.Components.EDMtoMEConverter_cff')
0030   process.genHarvesting += process.EDMtoMEConverter
0031   return process
0032 
0033