CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
me0Custom.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 def customise2023(process):
3  # if hasattr(process,'digitisation_step') :
4  # process=customise_digitization(process)
5  if hasattr(process,'dqmHarvesting'):
6  process=customise_harvesting(process)
7  if hasattr(process,'validation_step'):
8  process=customise_Validation(process)
9  return process
11  from SimMuon.GEMDigitizer.customizeGEMDigi import customize_digi_addGEM_muon_only
12  process = customize_digi_addGEM_muon_only(process)
13  process.simMuonGEMDigis.mixLabel = cms.string("mix")
14  #process.simMuonRPCDigis.digiModel = cms.string('RPCSimParam')
15  #process.simMuonME0PseudoDigis.mixLabel = cms.string("mix")
16  process.digitisation_step.remove(process.simMuonRPCDigis)
17  return process
18 
19 def customise_Validation(process):
20  #process.load('Validation.MuonGEMHits.MuonGEMHits_cfi')
21  process.load('Validation.MuonME0Validation.me0SimValid_cff')
22  process.genvalid_all += process.me0SimValid
23  return process
24 
25 def customise_harvesting(process):
26  #process.load('Validation.MuonGEMHits.MuonGEMHits_cfi')
27  #process.load('Validation.MuonME0Hits.me0PostValidation_cff')
28  #process.genHarvesting += process.me0PostValidation
29  process.load('DQMServices.Components.EDMtoMEConverter_cff')
30  process.genHarvesting += process.EDMtoMEConverter
31  return process
32 
33 
def customise_digitization(process)
Definition: me0Custom.py:10
def customise_harvesting(process)
Definition: me0Custom.py:25
def customise2023(process)
Definition: me0Custom.py:2
def customise_Validation(process)
Definition: me0Custom.py:19
def customize_digi_addGEM_muon_only(process)