1 import FWCore.ParameterSet.Config
as cms
2 from ..psets.hgcal_reco_constants_cfi
import HGCAL_reco_constants
as HGCAL_reco_constants
5 hltHGCalUncalibRecHit = cms.EDProducer(
"HGCalUncalibRecHitProducer",
6 HGCEEConfig = cms.PSet(
7 adcNbits = cms.uint32(10),
8 adcSaturation = cms.double(100),
9 fCPerMIP = cms.vdouble(HGCAL_reco_constants.fcPerMip[0:3]),
10 isSiFE = cms.bool(
True),
11 tdcNbits = cms.uint32(12),
12 tdcOnset = cms.double(60),
13 tdcSaturation = cms.double(10000),
14 toaLSB_ns = cms.double(0.0244),
15 tofDelay = cms.double(-9)
17 HGCEEdigiCollection = cms.InputTag(
"hltHgcalDigis",
"EE"),
18 HGCEEhitCollection = cms.string(
'HGCEEUncalibRecHits'),
19 HGCHEBConfig = cms.PSet(
20 adcNbits = cms.uint32(10),
21 adcSaturation = cms.double(68.75),
22 fCPerMIP = cms.vdouble(1.0, 1.0, 1.0),
23 isSiFE = cms.bool(
True),
24 tdcNbits = cms.uint32(12),
25 tdcOnset = cms.double(55),
26 tdcSaturation = cms.double(1000),
27 toaLSB_ns = cms.double(0.0244),
28 tofDelay = cms.double(-14)
30 HGCHEBdigiCollection = cms.InputTag(
"hltHgcalDigis",
"HEback"),
31 HGCHEBhitCollection = cms.string(
'HGCHEBUncalibRecHits'),
32 HGCHEFConfig = cms.PSet(
33 adcNbits = cms.uint32(10),
34 adcSaturation = cms.double(100),
35 fCPerMIP = cms.vdouble(HGCAL_reco_constants.fcPerMip[3:6]),
36 isSiFE = cms.bool(
True),
37 tdcNbits = cms.uint32(12),
38 tdcOnset = cms.double(60),
39 tdcSaturation = cms.double(10000),
40 toaLSB_ns = cms.double(0.0244),
41 tofDelay = cms.double(-11)
43 HGCHEFdigiCollection = cms.InputTag(
"hltHgcalDigis",
"HEfront"),
44 HGCHEFhitCollection = cms.string(
'HGCHEFUncalibRecHits'),
45 HGCHFNoseConfig = cms.PSet(
46 adcNbits = cms.uint32(10),
47 adcSaturation = cms.double(100),
48 fCPerMIP = cms.vdouble(1.25, 2.57, 3.88),
49 isSiFE = cms.bool(
False),
50 tdcNbits = cms.uint32(12),
51 tdcOnset = cms.double(60),
52 tdcSaturation = cms.double(10000),
53 toaLSB_ns = cms.double(0.0244),
54 tofDelay = cms.double(-33)
56 HGCHFNosedigiCollection = cms.InputTag(
"hfnoseDigis",
"HFNose"),
57 HGCHFNosehitCollection = cms.string(
'HGCHFNoseUncalibRecHits'),
58 computeLocalTime = cms.bool(
False),
59 algo = cms.string(
'HGCalUncalibRecHitWorkerWeights')
62 from Configuration.ProcessModifiers.ticl_v5_cff
import ticl_v5
63 ticl_v5.toModify(hltHGCalUncalibRecHit, computeLocalTime = cms.bool(
True))