1 import FWCore.ParameterSet.Config
as cms
5 fCPerMIP_v9 = cms.vdouble(2.06,3.43,5.15)
7 fCPerMIP_v10 = fCPerMIP_v9
10 HGCalUncalibRecHit = cms.EDProducer(
11 "HGCalUncalibRecHitProducer",
12 HGCEEdigiCollection = cms.InputTag(
'hgcalDigis:EE'),
13 HGCEEhitCollection = cms.string(
'HGCEEUncalibRecHits'),
14 HGCHEFdigiCollection = cms.InputTag(
'hgcalDigis:HEfront'),
15 HGCHEFhitCollection = cms.string(
'HGCHEFUncalibRecHits'),
16 HGCHEBdigiCollection = cms.InputTag(
'hgcalDigis:HEback'),
17 HGCHEBhitCollection = cms.string(
'HGCHEBUncalibRecHits'),
19 HGCEEConfig = cms.PSet(
20 isSiFE = cms.bool(
True),
22 adcNbits = hgceeDigitizer.digiCfg.feCfg.adcNbits,
23 adcSaturation = hgceeDigitizer.digiCfg.feCfg.adcSaturation_fC,
25 tdcNbits = hgceeDigitizer.digiCfg.feCfg.tdcNbits,
26 tdcSaturation = hgceeDigitizer.digiCfg.feCfg.tdcSaturation_fC,
27 tdcOnset = hgceeDigitizer.digiCfg.feCfg.tdcOnset_fC,
28 toaLSB_ns = hgceeDigitizer.digiCfg.feCfg.toaLSB_ns,
29 fCPerMIP = cms.vdouble(1.25,2.57,3.88)
32 HGCHEFConfig = cms.PSet(
33 isSiFE = cms.bool(
True),
35 adcNbits = hgchefrontDigitizer.digiCfg.feCfg.adcNbits,
36 adcSaturation = hgchefrontDigitizer.digiCfg.feCfg.adcSaturation_fC,
38 tdcNbits = hgchefrontDigitizer.digiCfg.feCfg.tdcNbits,
39 tdcSaturation = hgchefrontDigitizer.digiCfg.feCfg.tdcSaturation_fC,
40 tdcOnset = hgchefrontDigitizer.digiCfg.feCfg.tdcOnset_fC,
41 toaLSB_ns = hgchefrontDigitizer.digiCfg.feCfg.toaLSB_ns,
42 fCPerMIP = cms.vdouble(1.25,2.57,3.88)
45 HGCHEBConfig = cms.PSet(
46 isSiFE = cms.bool(
False),
47 adcNbits = hgchebackDigitizer.digiCfg.feCfg.adcNbits,
48 adcSaturation = hgchebackDigitizer.digiCfg.feCfg.adcSaturation_fC,
49 fCPerMIP = cms.vdouble(1.0,1.0,1.0)
52 algo = cms.string(
"HGCalUncalibRecHitWorkerWeights")
55 from Configuration.Eras.Modifier_phase2_hgcalV9_cff
import phase2_hgcalV9
56 phase2_hgcalV9.toModify( HGCalUncalibRecHit.HGCEEConfig , fCPerMIP = fCPerMIP_v9 )
57 phase2_hgcalV9.toModify( HGCalUncalibRecHit.HGCHEFConfig , fCPerMIP = fCPerMIP_v9 )
59 from Configuration.Eras.Modifier_phase2_hgcalV10_cff
import phase2_hgcalV10
60 phase2_hgcalV10.toModify( HGCalUncalibRecHit.HGCEEConfig , fCPerMIP = fCPerMIP_v10 )
61 phase2_hgcalV10.toModify( HGCalUncalibRecHit.HGCHEFConfig , fCPerMIP = fCPerMIP_v10 )