CMS 3D CMS Logo

mtdUncalibratedRecHits_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoLocalFastTime.FTLCommonAlgos.mtdUncalibRecHitAlgo_cff import mtdUncalibRecHitAlgo
4 
6 
7 _barrelAlgo = mtdUncalibRecHitAlgo.clone()
8 _barrelAlgo.adcNbits = mtdDigitizer.barrelDigitizer.ElectronicsSimulation.adcNbits
9 _barrelAlgo.adcSaturation = mtdDigitizer.barrelDigitizer.ElectronicsSimulation.adcSaturation_MIP
10 _barrelAlgo.toaLSB_ns = mtdDigitizer.barrelDigitizer.ElectronicsSimulation.toaLSB_ns
11 _endcapAlgo = mtdUncalibRecHitAlgo.clone()
12 _endcapAlgo.adcNbits = mtdDigitizer.endcapDigitizer.ElectronicsSimulation.adcNbits
13 _endcapAlgo.adcSaturation = mtdDigitizer.endcapDigitizer.ElectronicsSimulation.adcSaturation_MIP
14 _endcapAlgo.toaLSB_ns = mtdDigitizer.endcapDigitizer.ElectronicsSimulation.toaLSB_ns
15 
16 mtdUncalibratedRecHits = cms.EDProducer(
17  "MTDUncalibratedRecHitProducer",
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 )