CMS 3D CMS Logo

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