1 import FWCore.ParameterSet.Config
as cms
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.)
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)
28 mtdUncalibratedRecHits = cms.EDProducer(
29 "MTDUncalibratedRecHitProducer",
32 barrelDigis = cms.InputTag(
'mix:FTLBarrel'),
33 endcapDigis = cms.InputTag(
'mix:FTLEndcap'),
34 BarrelHitsName = cms.string(
'FTLBarrel'),
35 EndcapHitsName = cms.string(
'FTLEndcap')
38 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
39 premix_stage2.toModify(mtdUncalibratedRecHits,
40 barrelDigis =
'mixData:FTLBarrel',
41 endcapDigis =
'mixData:FTLEndcap',