CMS 3D CMS Logo

ftlUncalibratedRecHits_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoLocalFastTime.FTLCommonAlgos.ftlSimpleUncalibRecHitAlgo_cff import ftlSimpleUncalibRecHitAlgo
4 
6 
7 _barrelAlgo = ftlSimpleUncalibRecHitAlgo.clone()
8 _barrelAlgo.adcNbits = fastTimeDigitizer.barrelDigitizer.ElectronicsSimulation.adcNbits
9 _barrelAlgo.adcSaturation = fastTimeDigitizer.barrelDigitizer.ElectronicsSimulation.adcSaturation_MIP
10 _barrelAlgo.toaLSB_ns = fastTimeDigitizer.barrelDigitizer.ElectronicsSimulation.toaLSB_ns
11 _endcapAlgo = ftlSimpleUncalibRecHitAlgo.clone()
12 _endcapAlgo.adcNbits = fastTimeDigitizer.endcapDigitizer.ElectronicsSimulation.adcNbits
13 _endcapAlgo.adcSaturation = fastTimeDigitizer.endcapDigitizer.ElectronicsSimulation.adcSaturation_MIP
14 _endcapAlgo.toaLSB_ns = fastTimeDigitizer.endcapDigitizer.ElectronicsSimulation.toaLSB_ns
15 
16 ftlUncalibratedRecHits = cms.EDProducer(
17  "FTLUncalibratedRecHitProducer",
18  barrel = _barrelAlgo,
19  endcap = _endcapAlgo,
20  barrelDigis = cms.InputTag('mix:FTLBarrel'),
21  endcapDigis = cms.InputTag('mix:FTLEndcap'),
22  BarrelHitsName = cms.string('FTLBarrel'),
23  EndcapHitsName = cms.string('FTLEndcap')
24 )