1 import FWCore.ParameterSet.Config
as cms
5 fCPerMIP_v10 = cms.vdouble(2.06,3.43,5.15)
8 HGCalUncalibRecHit = cms.EDProducer(
9 "HGCalUncalibRecHitProducer",
10 HGCEEdigiCollection = cms.InputTag(
'hgcalDigis:EE'),
11 HGCEEhitCollection = cms.string(
'HGCEEUncalibRecHits'),
12 HGCHEFdigiCollection = cms.InputTag(
'hgcalDigis:HEfront'),
13 HGCHEFhitCollection = cms.string(
'HGCHEFUncalibRecHits'),
14 HGCHEBdigiCollection = cms.InputTag(
'hgcalDigis:HEback'),
15 HGCHEBhitCollection = cms.string(
'HGCHEBUncalibRecHits'),
16 HGCHFNosedigiCollection = cms.InputTag(
'hfnoseDigis:HFNose'),
17 HGCHFNosehitCollection = cms.string(
'HGCHFNoseUncalibRecHits'),
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(
True),
48 adcNbits = hgchebackDigitizer.digiCfg.feCfg.adcNbits,
49 adcSaturation = hgchebackDigitizer.digiCfg.feCfg.adcSaturation_fC,
51 tdcNbits = hgchebackDigitizer.digiCfg.feCfg.tdcNbits,
52 tdcSaturation = hgchebackDigitizer.digiCfg.feCfg.tdcSaturation_fC,
53 tdcOnset = hgchebackDigitizer.digiCfg.feCfg.tdcOnset_fC,
54 toaLSB_ns = hgchebackDigitizer.digiCfg.feCfg.toaLSB_ns,
55 fCPerMIP = cms.vdouble(1.0,1.0,1.0)
58 HGCHFNoseConfig = cms.PSet(
59 isSiFE = cms.bool(
False),
61 adcNbits = hfnoseDigitizer.digiCfg.feCfg.adcNbits,
62 adcSaturation = hfnoseDigitizer.digiCfg.feCfg.adcSaturation_fC,
64 tdcNbits = hfnoseDigitizer.digiCfg.feCfg.tdcNbits,
65 tdcSaturation = hfnoseDigitizer.digiCfg.feCfg.tdcSaturation_fC,
66 tdcOnset = hfnoseDigitizer.digiCfg.feCfg.tdcOnset_fC,
67 toaLSB_ns = hfnoseDigitizer.digiCfg.feCfg.toaLSB_ns,
68 fCPerMIP = cms.vdouble(1.25,2.57,3.88)
71 algo = cms.string(
"HGCalUncalibRecHitWorkerWeights")
74 from Configuration.Eras.Modifier_phase2_hgcalV10_cff
import phase2_hgcalV10
75 phase2_hgcalV10.toModify( HGCalUncalibRecHit.HGCEEConfig , fCPerMIP = fCPerMIP_v10 )
76 phase2_hgcalV10.toModify( HGCalUncalibRecHit.HGCHEFConfig , fCPerMIP = fCPerMIP_v10 )
78 from Configuration.Eras.Modifier_phase2_hfnose_cff
import phase2_hfnose
79 phase2_hfnose.toModify( HGCalUncalibRecHit.HGCHFNoseConfig ,
81 fCPerMIP = fCPerMIP_v10