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'),
18 HGCHFNosedigiCollection = cms.InputTag(
'hfnoseDigis:HFNose'),
19 HGCHFNosehitCollection = cms.string(
'HGCHFNoseUncalibRecHits'),
21 HGCEEConfig = cms.PSet(
22 isSiFE = cms.bool(
True),
24 adcNbits = hgceeDigitizer.digiCfg.feCfg.adcNbits,
25 adcSaturation = hgceeDigitizer.digiCfg.feCfg.adcSaturation_fC,
27 tdcNbits = hgceeDigitizer.digiCfg.feCfg.tdcNbits,
28 tdcSaturation = hgceeDigitizer.digiCfg.feCfg.tdcSaturation_fC,
29 tdcOnset = hgceeDigitizer.digiCfg.feCfg.tdcOnset_fC,
30 toaLSB_ns = hgceeDigitizer.digiCfg.feCfg.toaLSB_ns,
31 fCPerMIP = cms.vdouble(1.25,2.57,3.88)
34 HGCHEFConfig = cms.PSet(
35 isSiFE = cms.bool(
True),
37 adcNbits = hgchefrontDigitizer.digiCfg.feCfg.adcNbits,
38 adcSaturation = hgchefrontDigitizer.digiCfg.feCfg.adcSaturation_fC,
40 tdcNbits = hgchefrontDigitizer.digiCfg.feCfg.tdcNbits,
41 tdcSaturation = hgchefrontDigitizer.digiCfg.feCfg.tdcSaturation_fC,
42 tdcOnset = hgchefrontDigitizer.digiCfg.feCfg.tdcOnset_fC,
43 toaLSB_ns = hgchefrontDigitizer.digiCfg.feCfg.toaLSB_ns,
44 fCPerMIP = cms.vdouble(1.25,2.57,3.88)
47 HGCHEBConfig = cms.PSet(
48 isSiFE = cms.bool(
True),
50 adcNbits = hgchebackDigitizer.digiCfg.feCfg.adcNbits,
51 adcSaturation = hgchebackDigitizer.digiCfg.feCfg.adcSaturation_fC,
53 tdcNbits = hgchebackDigitizer.digiCfg.feCfg.tdcNbits,
54 tdcSaturation = hgchebackDigitizer.digiCfg.feCfg.tdcSaturation_fC,
55 tdcOnset = hgchebackDigitizer.digiCfg.feCfg.tdcOnset_fC,
56 toaLSB_ns = hgchebackDigitizer.digiCfg.feCfg.toaLSB_ns,
57 fCPerMIP = cms.vdouble(1.0,1.0,1.0)
60 HGCHFNoseConfig = cms.PSet(
61 isSiFE = cms.bool(
False),
63 adcNbits = hfnoseDigitizer.digiCfg.feCfg.adcNbits,
64 adcSaturation = hfnoseDigitizer.digiCfg.feCfg.adcSaturation_fC,
66 tdcNbits = hfnoseDigitizer.digiCfg.feCfg.tdcNbits,
67 tdcSaturation = hfnoseDigitizer.digiCfg.feCfg.tdcSaturation_fC,
68 tdcOnset = hfnoseDigitizer.digiCfg.feCfg.tdcOnset_fC,
69 toaLSB_ns = hfnoseDigitizer.digiCfg.feCfg.toaLSB_ns,
70 fCPerMIP = cms.vdouble(1.25,2.57,3.88)
73 algo = cms.string(
"HGCalUncalibRecHitWorkerWeights")
76 from Configuration.Eras.Modifier_phase2_hgcalV9_cff
import phase2_hgcalV9
77 phase2_hgcalV9.toModify( HGCalUncalibRecHit.HGCEEConfig , fCPerMIP = fCPerMIP_v9 )
78 phase2_hgcalV9.toModify( HGCalUncalibRecHit.HGCHEFConfig , fCPerMIP = fCPerMIP_v9 )
80 from Configuration.Eras.Modifier_phase2_hgcalV10_cff
import phase2_hgcalV10
81 phase2_hgcalV10.toModify( HGCalUncalibRecHit.HGCEEConfig , fCPerMIP = fCPerMIP_v10 )
82 phase2_hgcalV10.toModify( HGCalUncalibRecHit.HGCHEFConfig , fCPerMIP = fCPerMIP_v10 )
84 from Configuration.Eras.Modifier_phase2_hfnose_cff
import phase2_hfnose
85 phase2_hfnose.toModify( HGCalUncalibRecHit.HGCHFNoseConfig ,
87 fCPerMIP = fCPerMIP_v9