CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
gemCustoms.py
Go to the documentation of this file.
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.simMuonME0Digis.mixLabel = cms.string("mix")
15  # process.digitisation_step.remove(process.simMuonRPCDigis)
16  # process.simMuonRPCDigis.digiModel = cms.string('RPCSimParam')
17  process.simMuonRPCDigis.digiModel = cms.string('RPCSimAverageNoiseEff')
18  return process
19 
20 def customise_Validation(process):
21  #process.load('Validation.MuonGEMHits.MuonGEMHits_cfi')
22  process.load('Validation.MuonGEMHits.gemSimValid_cff')
23  process.load('Validation.MuonGEMDigis.MuonGEMDigis_cfi')
24  process.genvalid_all += process.gemSimValid
25  process.genvalid_all += process.gemDigiValidation
26  return process
27 
28 def customise_harvesting(process):
29  #process.load('Validation.MuonGEMHits.MuonGEMHits_cfi')
30  process.load('Validation.MuonGEMHits.gemPostValidation_cff')
31  process.genHarvesting += process.gemPostValidation
32  return process
33 
def customise_digitization
Definition: gemCustoms.py:10
def customise_harvesting
Definition: gemCustoms.py:28
def customise_Validation
Definition: gemCustoms.py:20
def customise2023
Definition: gemCustoms.py:2