CMS 3D CMS Logo

muonME0Digis_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 me0DigiCommonParameters = cms.PSet(
6  signalPropagationSpeed = cms.double(0.66),
7  timeResolution = cms.double(5),
8  timeJitter = cms.double(1.0),
9  averageShapingTime = cms.double(50.0),
10  averageEfficiency = cms.double(0.98),
11  averageNoiseRate = cms.double(0.001), #intrinsic noise
12  bxwidth = cms.int32(25),
13  minBunch = cms.int32(-5), ## in terms of 25 ns
14  maxBunch = cms.int32(3),
15  mixLabel = cms.string('mix'), # added by A.Sharma
16  inputCollection = cms.string('g4SimHitsMuonME0Hits'),
17  digiModelString = cms.string('Simple'),
18  digitizeOnlyMuons = cms.bool(False),
19  doBkgNoise = cms.bool(False), #False == No background simulation
20  doNoiseCLS = cms.bool(True),
21  fixedRollRadius = cms.bool(True), #Uses fixed radius in the center of the roll
22  simulateIntrinsicNoise = cms.bool(False),
23  simulateElectronBkg = cms.bool(True), #False=simulate only neutral Bkg
24  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
25  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
26  referenceInstLumi = gemDigiCommonParameters.referenceInstLumi, #reference inst. luminosity 5x10^34 cm-2s-1
27  #The following parameters are needed to model the background contribution.
28  #The parameters have been obtained after the fit of the predicted by FLUKA.
29  #By default the backgroundmodeling with these parameters should be disabled with
30  #the 9_2_X release setting doBkgNoise=False
31  ME0ElecBkgParam0 = cms.double(0.00171409),
32  ME0ElecBkgParam1 = cms.double(4900.56),
33  ME0ElecBkgParam2 = cms.double(710909),
34  ME0ElecBkgParam3 = cms.double(-4327.25),
35  ME0NeuBkgParam0 = cms.double(0.00386257),
36  ME0NeuBkgParam1 = cms.double(6344.65),
37  ME0NeuBkgParam2 = cms.double(16627700),
38  ME0NeuBkgParam3 = cms.double(-102098)
39 )
40 
41 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
42 premix_stage2.toModify(me0DigiCommonParameters, mixLabel = "mixData")
43 
44 # Module to create simulated ME0 digis.
45 simMuonME0Digis = cms.EDProducer("ME0DigiProducer",
46  me0DigiCommonParameters
47 )
48