CMS 3D CMS Logo

mtdUncalibratedRecHits_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 
6 _barrelAlgo = cms.PSet(
7  algoName = cms.string("BTLUncalibRecHitAlgo"),
8  adcNbits = mtdDigitizer.barrelDigitizer.ElectronicsSimulation.adcNbits,
9  adcSaturation = mtdDigitizer.barrelDigitizer.ElectronicsSimulation.adcSaturation_MIP,
10  toaLSB_ns = mtdDigitizer.barrelDigitizer.ElectronicsSimulation.toaLSB_ns,
11  timeResolutionInNs = cms.double(0.025),
12  timeCorr_p0 = cms.double( 2.21103),
13  timeCorr_p1 = cms.double(-0.933552),
14  timeCorr_p2 = cms.double( 0.)
15 )
16 
17 
18 _endcapAlgo = cms.PSet(
19  algoName = cms.string("ETLUncalibRecHitAlgo"),
20  adcNbits = mtdDigitizer.endcapDigitizer.ElectronicsSimulation.adcNbits,
21  adcSaturation = mtdDigitizer.endcapDigitizer.ElectronicsSimulation.adcSaturation_MIP,
22  toaLSB_ns = mtdDigitizer.endcapDigitizer.ElectronicsSimulation.toaLSB_ns,
23  tofDelay = mtdDigitizer.endcapDigitizer.DeviceSimulation.tofDelay,
24  timeResolutionInNs = cms.double(0.025)
25 )
26 
27 
28 mtdUncalibratedRecHits = cms.EDProducer(
29  "MTDUncalibratedRecHitProducer",
30  barrel = _barrelAlgo,
31  endcap = _endcapAlgo,
32  barrelDigis = cms.InputTag('mix:FTLBarrel'),
33  endcapDigis = cms.InputTag('mix:FTLEndcap'),
34  BarrelHitsName = cms.string('FTLBarrel'),
35  EndcapHitsName = cms.string('FTLEndcap')
36 )
37 
38 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
39 premix_stage2.toModify(mtdUncalibratedRecHits,
40  barrelDigis = 'mixData:FTLBarrel',
41  endcapDigis = 'mixData:FTLEndcap',
42 )
mtdDigitizer_cfi