test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
muonRPCDigis_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Module to create simulated RPC digis.
4 simMuonRPCDigis = cms.EDProducer("RPCDigiProducer",
5  Noise = cms.bool(True),
6  digiModelConfig = cms.PSet(
7  signalPropagationSpeed = cms.double(0.66),
8  timingRPCOffset = cms.double(50.0),
9  Frate = cms.double(1.0),
10  printOutDigitizer = cms.bool(False),
11  cosmics = cms.bool(False),
12  deltatimeAdjacentStrip = cms.double(3.0),
13  linkGateWidth = cms.double(20.0),
14  Rate = cms.double(0.0),
15  timeResolution = cms.double(2.5),
16  averageClusterSize = cms.double(1.5),
17  Gate = cms.double(25.0),
18  averageEfficiency = cms.double(0.95),
19  Nbxing = cms.int32(9),
20  timeJitter = cms.double(1.0)
21  ),
22  doBkgNoise = cms.bool(True), #False - no noise and bkg simulation
23  Signal = cms.bool(True),
24  mixLabel = cms.string('mix'),
25  InputCollection = cms.string('g4SimHitsMuonRPCHits'),
26 # digiModel = cms.string('RPCSimAverageNoiseEffCls')
27  digiModel = cms.string('RPCSimAsymmetricCls')
28 #the new digitizer is RPCSimAsymmetricCls
29 )
30 
31 
32 from Configuration.StandardSequences.Eras import eras
33 if eras.fastSim.isChosen():
34  simMuonRPCDigis.InputCollection = 'MuonSimHitsMuonRPCHits'
35