1 import FWCore.ParameterSet.Config
as cms
3 from RecoLocalCalo.HGCalRecProducers.HGCalUncalibRecHitProducer_cfi
import HGCalUncalibRecHitProducer
6 fCPerMIP_mpv = cms.vdouble(1.25,2.57,3.88)
7 fCPerMIP_mean = cms.vdouble(2.06,3.43,5.15)
10 HGCalUncalibRecHit = HGCalUncalibRecHitProducer.clone(
12 HGCEEConfig = cms.PSet(
13 isSiFE = cms.bool(
True),
15 adcNbits = hgceeDigitizer.digiCfg.feCfg.adcNbits,
16 adcSaturation = hgceeDigitizer.digiCfg.feCfg.adcSaturation_fC,
18 tdcNbits = hgceeDigitizer.digiCfg.feCfg.tdcNbits,
19 tdcSaturation = hgceeDigitizer.digiCfg.feCfg.tdcSaturation_fC,
20 tdcOnset = hgceeDigitizer.digiCfg.feCfg.tdcOnset_fC,
21 toaLSB_ns = hgceeDigitizer.digiCfg.feCfg.toaLSB_ns,
22 tofDelay = hgceeDigitizer.tofDelay,
23 fCPerMIP = fCPerMIP_mpv
26 HGCHEFConfig = cms.PSet(
27 isSiFE = cms.bool(
True),
29 adcNbits = hgchefrontDigitizer.digiCfg.feCfg.adcNbits,
30 adcSaturation = hgchefrontDigitizer.digiCfg.feCfg.adcSaturation_fC,
32 tdcNbits = hgchefrontDigitizer.digiCfg.feCfg.tdcNbits,
33 tdcSaturation = hgchefrontDigitizer.digiCfg.feCfg.tdcSaturation_fC,
34 tdcOnset = hgchefrontDigitizer.digiCfg.feCfg.tdcOnset_fC,
35 toaLSB_ns = hgchefrontDigitizer.digiCfg.feCfg.toaLSB_ns,
36 tofDelay = hgchefrontDigitizer.tofDelay,
37 fCPerMIP = fCPerMIP_mpv
40 HGCHEBConfig = cms.PSet(
41 isSiFE = cms.bool(
True),
43 adcNbits = hgchebackDigitizer.digiCfg.feCfg.adcNbits,
44 adcSaturation = hgchebackDigitizer.digiCfg.feCfg.adcSaturation_fC,
46 tdcNbits = hgchebackDigitizer.digiCfg.feCfg.tdcNbits,
47 tdcSaturation = hgchebackDigitizer.digiCfg.feCfg.tdcSaturation_fC,
48 tdcOnset = hgchebackDigitizer.digiCfg.feCfg.tdcOnset_fC,
49 toaLSB_ns = hgchebackDigitizer.digiCfg.feCfg.toaLSB_ns,
50 tofDelay = hgchebackDigitizer.tofDelay,
51 fCPerMIP = cms.vdouble(1.0,1.0,1.0)
54 HGCHFNoseConfig = cms.PSet(
55 isSiFE = cms.bool(
False),
57 adcNbits = hfnoseDigitizer.digiCfg.feCfg.adcNbits,
58 adcSaturation = hfnoseDigitizer.digiCfg.feCfg.adcSaturation_fC,
60 tdcNbits = hfnoseDigitizer.digiCfg.feCfg.tdcNbits,
61 tdcSaturation = hfnoseDigitizer.digiCfg.feCfg.tdcSaturation_fC,
62 tdcOnset = hfnoseDigitizer.digiCfg.feCfg.tdcOnset_fC,
63 toaLSB_ns = hfnoseDigitizer.digiCfg.feCfg.toaLSB_ns,
64 tofDelay = hfnoseDigitizer.tofDelay,
65 fCPerMIP = fCPerMIP_mpv
69 from Configuration.Eras.Modifier_phase2_hgcalV10_cff
import phase2_hgcalV10
70 phase2_hgcalV10.toModify( HGCalUncalibRecHit.HGCEEConfig , fCPerMIP = fCPerMIP_mean )
71 phase2_hgcalV10.toModify( HGCalUncalibRecHit.HGCHEFConfig , fCPerMIP = fCPerMIP_mean )
73 from Configuration.Eras.Modifier_phase2_hgcalV16_cff
import phase2_hgcalV16
74 phase2_hgcalV16.toModify( HGCalUncalibRecHit.HGCEEConfig , fCPerMIP = fCPerMIP_mean )
75 phase2_hgcalV16.toModify( HGCalUncalibRecHit.HGCHEFConfig , fCPerMIP = fCPerMIP_mean )
77 from Configuration.Eras.Modifier_phase2_hfnose_cff
import phase2_hfnose
78 phase2_hfnose.toModify( HGCalUncalibRecHit.HGCHFNoseConfig ,
80 fCPerMIP = fCPerMIP_mean
83 from Configuration.ProcessModifiers.ticl_v5_cff
import ticl_v5
84 ticl_v5.toModify(HGCalUncalibRecHit, computeLocalTime = cms.bool(
True))