CMS 3D CMS Logo

muonME0PseudoDigis_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 me0PseudoDigiCommonParameters = cms.PSet(
4  inputCollection = cms.string('g4SimHitsMuonME0Hits'),
5  digiPreRecoModelString = cms.string('PreRecoGaussian'),
6  timeResolution = cms.double(0.0), # in ns
7  phiResolution = cms.double(0.0), # in cm average resolution along local x in case of no correlation
8  etaResolution = cms.double(0.0), # in cm average resolution along local y in case of no correlation
9  phiError = cms.double(0.001), # normally error should be the resolution, but for the case resolution = 0
10  etaError = cms.double(0.001), # normally error should be the resolution, but for the case resolution = 0
11  constantPhiSpatialResolution = cms.bool(True),
12  useCorrelation = cms.bool(False),
13  useEtaProjectiveGEO = cms.bool(False),
14  averageEfficiency = cms.double(0.98),
15  gaussianSmearing = cms.bool(True), # False --> Uniform smearing
16  digitizeOnlyMuons = cms.bool(False),
17  # simulateIntrinsicNoise = cms.bool(False), # intrinsic noise --> not implemented
18  # averageNoiseRate = cms.double(0.001), # intrinsic noise --> not implemented
19  simulateElectronBkg = cms.bool(False), # True - will simulate electron background
20  simulateNeutralBkg = cms.bool(False), # True - will simulate neutral (n+g) background
21  minBunch = cms.int32(-5), # [x 25 ns], forms the readout window together with maxBunch,
22  maxBunch = cms.int32(3), # we should think of shrinking this window ...
23  instLumi = cms.double(7.5), # 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
24  rateFact = cms.double(1.0), # 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
25  referenceInstLumi = cms.double(5.), #reference inst. luminosity 5x10^34 cm-2s-1
26  mixLabel = cms.string('mix')
27 )
28 
29 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
30 premix_stage2.toModify(me0PseudoDigiCommonParameters, mixLabel = "mixData")
31 
32 # Module to create simulated ME0 Pre Reco digis.
33 simMuonME0PseudoDigis = cms.EDProducer("ME0DigiPreRecoProducer",
34  me0PseudoDigiCommonParameters
35 )