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.string(
"0.308*pow(x,-0.4175)"),
12 timeCorr_p0 = cms.double( 2.21103),
13 timeCorr_p1 = cms.double(-0.933552),
14 timeCorr_p2 = cms.double( 0.),
15 c_LYSO = cms.double(13.846235)
19 _endcapAlgo = cms.PSet(
20 algoName = cms.string(
"ETLUncalibRecHitAlgo"),
21 adcNbits = mtdDigitizer.endcapDigitizer.ElectronicsSimulation.adcNbits,
22 adcSaturation = mtdDigitizer.endcapDigitizer.ElectronicsSimulation.adcSaturation_MIP,
23 toaLSB_ns = mtdDigitizer.endcapDigitizer.ElectronicsSimulation.toaLSB_ns,
24 tofDelay = mtdDigitizer.endcapDigitizer.DeviceSimulation.tofDelay,
25 timeResolutionInNs = cms.string(
"0.039"),
26 timeCorr_p0 = cms.double(0.667116),
27 timeCorr_p1 = cms.double(-0.500665),
28 timeCorr_p2 = cms.double(0.141136),
29 timeCorr_p3 = cms.double(-0.0169169)
33 mtdUncalibratedRecHits = cms.EDProducer(
34 "MTDUncalibratedRecHitProducer",
37 barrelDigis = cms.InputTag(
'mix:FTLBarrel'),
38 endcapDigis = cms.InputTag(
'mix:FTLEndcap'),
39 BarrelHitsName = cms.string(
'FTLBarrel'),
40 EndcapHitsName = cms.string(
'FTLEndcap')
43 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
44 premix_stage2.toModify(mtdUncalibratedRecHits,
45 barrelDigis =
'mixData:FTLBarrel',
46 endcapDigis =
'mixData:FTLEndcap',