Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 me0PseudoDigiCommonParameters = cms.PSet(
0004     inputCollection = cms.string('g4SimHitsMuonME0Hits'),
0005     digiPreRecoModelString = cms.string('PreRecoGaussian'),
0006     timeResolution = cms.double(0.0), # in ns
0007     phiResolution = cms.double(0.0), # in cm average resolution along local x in case of no correlation
0008     etaResolution = cms.double(0.0), # in cm average resolution along local y in case of no correlation
0009     phiError = cms.double(0.001), # normally error should be the resolution, but for the case resolution = 0
0010     etaError = cms.double(0.001), # normally error should be the resolution, but for the case resolution = 0
0011     constantPhiSpatialResolution = cms.bool(True),
0012     useCorrelation = cms.bool(False),
0013     useEtaProjectiveGEO = cms.bool(False),
0014     averageEfficiency = cms.double(0.98),
0015     gaussianSmearing = cms.bool(True),          # False --> Uniform smearing
0016     digitizeOnlyMuons = cms.bool(False),
0017     # simulateIntrinsicNoise = cms.bool(False), # intrinsic noise --> not implemented
0018     # averageNoiseRate = cms.double(0.001),     # intrinsic noise --> not implemented
0019     simulateElectronBkg = cms.bool(False),      # True - will simulate electron background
0020     simulateNeutralBkg  = cms.bool(False),      # True - will simulate neutral (n+g)  background
0021     minBunch = cms.int32(-5),                   # [x 25 ns], forms the readout window together with maxBunch,
0022     maxBunch = cms.int32(3),                    # we should think of shrinking this window ...
0023     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
0024     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
0025     referenceInstLumi = cms.double(5.),  #reference inst. luminosity 5x10^34 cm-2s-1
0026     mixLabel = cms.string('mix')
0027 )
0028 
0029 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
0030 premix_stage2.toModify(me0PseudoDigiCommonParameters, mixLabel = "mixData")
0031 
0032 # Module to create simulated ME0 Pre Reco digis.
0033 simMuonME0PseudoDigis = cms.EDProducer("ME0DigiPreRecoProducer",
0034     me0PseudoDigiCommonParameters
0035 )