CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
muonDTDigis_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 simMuonDTDigis = cms.EDProducer("DTDigitizer",
4  # Velocity of signal propagation along the wire (cm/ns)
5  # For the default value
6  # cfr. CMS-IN 2000-021: (2.56+-0.17)x1e8 m/s
7  # CMS NOTE 2003-17: (0.244) m/ns
8  vPropWire = cms.double(24.4),
9  # The Synchronization Algo Name. Algos Type= [DTDigiSyncTOFCorr,DTDigiSyncFromTable]
10  SyncName = cms.string('DTDigiSyncTOFCorr'),
11  # configure the creation of Digi-Sim links:
12  # one-to-one correspondence between digis and SimHits (MultipleLinks=false)
13  # or association of SimHits within a given time window (of the order of the resolution, in ns)
14  MultipleLinks = cms.bool(True),
15  # constant drift velocity for the IdealModel (cm/ns)
16  IdealModelConstantDriftVelocity = cms.double(0.0055),
17  interpolate = cms.bool(True),
18  # further configurable smearing
19  Smearing = cms.double(2.4),
20  # Dead time for signals on the same wire (number from M. Pegoraro)
21  deadTime = cms.double(150.0),
22  #Name of Collection used for create the XF
23  mixLabel = cms.string('mix'),
24  InputCollection = cms.string('g4SimHitsMuonDTHits'),
25  debug = cms.untracked.bool(False),
26  # Its parameters
27  pset = cms.PSet(
28  TOFCorrection = cms.int32(3),
29  offset = cms.double(500.0)
30  ),
31  # ideal model. Used for debug.
32  # It uses constant drift velocity and it hasn't any external delay
33  IdealModel = cms.bool(False),
34  LinksTimeWindow = cms.double(10.0),
35  onlyMuHits = cms.bool(False),
36  GeometryType = cms.string('idealForDigi')
37 )
38 
39 
40 from Configuration.StandardSequences.Eras import eras
41 if eras.fastSim.isChosen():
42  simMuonDTDigis.InputCollection = 'MuonSimHitsMuonDTHits'
43 
44