CMS 3D CMS Logo

muonME0PseudoDigis_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from SimMuon.GEMDigitizer.muonGEMDigis_cfi import gemDigiCommonParameters
4 
5 me0PseudoDigiCommonParameters = cms.PSet(
6  inputCollection = cms.string('g4SimHitsMuonME0Hits'),
7  digiPreRecoModelString = cms.string('PreRecoGaussian'),
8  timeResolution = cms.double(0.0), # in ns
9  phiResolution = cms.double(0.0), # in cm average resolution along local x in case of no correlation
10  etaResolution = cms.double(0.0), # in cm average resolution along local y in case of no correlation
11  phiError = cms.double(0.001), # normally error should be the resolution, but for the case resolution = 0
12  etaError = cms.double(0.001), # normally error should be the resolution, but for the case resolution = 0
13  constantPhiSpatialResolution = cms.bool(True),
14  useCorrelation = cms.bool(False),
15  useEtaProjectiveGEO = cms.bool(False),
16  averageEfficiency = cms.double(0.98),
17  gaussianSmearing = cms.bool(True), # False --> Uniform smearing
18  digitizeOnlyMuons = cms.bool(False),
19  # simulateIntrinsicNoise = cms.bool(False), # intrinsic noise --> not implemented
20  # averageNoiseRate = cms.double(0.001), # intrinsic noise --> not implemented
21  simulateElectronBkg = cms.bool(False), # True - will simulate electron background
22  simulateNeutralBkg = cms.bool(False), # True - will simulate neutral (n+g) background
23  minBunch = cms.int32(-5), # [x 25 ns], forms the readout window together with maxBunch,
24  maxBunch = cms.int32(3), # we should think of shrinking this window ...
25  instLumi = gemDigiCommonParameters.instLumi,# in units of 1E34 cm^-2 s^-1. Internally the background is parametrized from FLUKA+GEANT results at 5x10^34 (PU140). We are adding a 1.5 factor for PU200
26  rateFact = gemDigiCommonParameters.rateFact,# We are adding also a safety factor of 2 to take into account the new beam pipe effect (not yet known). Hits can be thrown away later at re-digi step. Parameters are kept in sync with the ones used in the GEM digitizer
27  referenceInstLumi = gemDigiCommonParameters.referenceInstLumi, #reference inst. luminosity 5x10^34 cm-2s-1
28  mixLabel = cms.string('mix')
29 )
30 
31 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
32 premix_stage2.toModify(me0PseudoDigiCommonParameters, mixLabel = "mixData")
33 
34 # Module to create simulated ME0 Pre Reco digis.
35 simMuonME0PseudoDigis = cms.EDProducer("ME0DigiPreRecoProducer",
36  me0PseudoDigiCommonParameters
37 )