1 import FWCore.ParameterSet.Config
as cms
8 hcalCalibPedestalHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
9 eventSetupPathsKey=
'HcalCalPedestal',
13 import EventFilter.HcalRawToDigi.HcalCalibTypeFilter_cfi
14 hcalCalibPedestal = EventFilter.HcalRawToDigi.HcalCalibTypeFilter_cfi.hcalCalibTypeFilter.clone(
16 InputLabel = cms.string(
'hltHcalCalibrationRaw::HLT'),
18 CalibTypes = cms.vint32( 1 ),
19 FilterSummary = cms.untracked.bool(
False )
24 gtDigisAlCaPedestal = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone()
26 import EventFilter.HcalRawToDigi.HcalRawToDigi_cfi
27 hcalDigiAlCaPedestal = EventFilter.HcalRawToDigi.HcalRawToDigi_cfi.hcalDigis.clone()
28 hcalDigiAlCaPedestal.InputLabel = cms.InputTag(
'hltHcalCalibrationRaw')
30 qie10Digis = EventFilter.HcalRawToDigi.HcalRawToDigi_cfi.hcalDigis.clone()
31 qie10Digis.InputLabel = cms.InputTag(
'hltHcalCalibrationRaw')
32 qie10Digis.FEDs = cms.untracked.vint32(1132)
34 import RecoLocalCalo.HcalRecProducers.HBHEPhase1Reconstructor_cfi
35 hbherecoPedestal = RecoLocalCalo.HcalRecProducers.HBHEPhase1Reconstructor_cfi.hbheprereco.clone(
36 digiLabelQIE8 = cms.InputTag(
"hcalDigiAlCaPedestal"),
37 digiLabelQIE11 = cms.InputTag(
"hcalDigiAlCaPedestal"),
38 tsFromDB = cms.bool(
False),
39 dropZSmarkedPassed = cms.bool(
False),
41 useM2 = cms.bool(
False),
42 useM3 = cms.bool(
False)
44 processQIE11 = cms.bool(
False),
45 setNegativeFlagsQIE8 = cms.bool(
False),
46 setNegativeFlagsQIE11 = cms.bool(
False),
47 setNoiseFlagsQIE8 = cms.bool(
True),
48 setNoiseFlagsQIE11 = cms.bool(
False),
49 setPulseShapeFlagsQIE8 = cms.bool(
False),
50 setPulseShapeFlagsQIE11 = cms.bool(
False),
51 setLegacyFlagsQIE8 = cms.bool(
False),
52 setLegacyFlagsQIE11 = cms.bool(
False),
55 hbherecoPedestal.algorithm.firstSample = 0
56 hbherecoPedestal.algorithm.samplesToAdd = 4
58 import RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hf_cfi
59 hfrecoPedestal = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hf_cfi.hfreco.clone()
60 hfrecoPedestal.digiLabel = cms.InputTag(
'hcalDigiAlCaPedestal')
61 hfrecoPedestal.firstSample = cms.int32(0)
62 hfrecoPedestal.samplesToAdd = cms.int32(2)
63 hfrecoPedestal.dropZSmarkedPassed = cms.bool(
False)
65 import RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi
66 horecoPedestal = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi.horeco.clone()
67 horecoPedestal.digiLabel = cms.InputTag(
'hcalDigiAlCaPedestal')
68 horecoPedestal.firstSample = cms.int32(0)
69 horecoPedestal.samplesToAdd = cms.int32(4)
70 horecoPedestal.dropZSmarkedPassed = cms.bool(
False)
72 seqALCARECOHcalCalPedestal = cms.Sequence(hbherecoPedestal*hfrecoPedestal*horecoPedestal)
74 seqALCARECOHcalCalPedestalDigi = cms.Sequence(hcalCalibPedestalHLT*
80 import RecoLocalCalo.HcalRecProducers.hfprereco_cfi
81 hfprerecoPedestal = RecoLocalCalo.HcalRecProducers.hfprereco_cfi.hfprereco.clone(
82 digiLabel = cms.InputTag(
"hcalDigiAlCaPedestal"),
83 dropZSmarkedPassed = cms.bool(
False),
84 tsFromDB = cms.bool(
False),
85 sumAllTimeSlices = cms.bool(
False),
86 forceSOI = cms.int32(0)
89 import RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi
90 _phase1_hfrecoPedestal = RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi.hfreco.clone(
91 inputLabel = cms.InputTag(
"hfprerecoPedestal"),
92 setNoiseFlags = cms.bool(
False),
94 Class = cms.string(
"HFSimpleTimeCheck"),
95 rejectAllFailures = cms.bool(
False)
99 _phase1_seqALCARECOHcalCalPedestal = seqALCARECOHcalCalPedestal.copy()
100 _phase1_seqALCARECOHcalCalPedestal.insert(0,hfprerecoPedestal)
102 from Configuration.Eras.Modifier_run2_HF_2017_cff
import run2_HF_2017
103 run2_HF_2017.toReplaceWith( seqALCARECOHcalCalPedestal, _phase1_seqALCARECOHcalCalPedestal )
104 run2_HF_2017.toReplaceWith( hfrecoPedestal, _phase1_hfrecoPedestal )
106 import RecoLocalCalo.HcalRecProducers.hbheplan1_cfi
107 hbheplan1Pedestal = RecoLocalCalo.HcalRecProducers.hbheplan1_cfi.hbheplan1.clone(
108 hbheInput = cms.InputTag(
"hbheprerecoPedestal")
111 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
112 run2_HCAL_2017.toModify( hbherecoPedestal,
113 processQIE11 = cms.bool(
True),
118 _plan1_seqALCARECOHcalCalPedestal = _phase1_seqALCARECOHcalCalPedestal.copy()
119 hbheprerecoPedestal = hbherecoPedestal.clone()
120 _plan1_seqALCARECOHcalCalPedestal.insert(0,hbheprerecoPedestal)
121 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff
import run2_HEPlan1_2017
122 run2_HEPlan1_2017.toReplaceWith(hbherecoPedestal, hbheplan1Pedestal)
123 run2_HEPlan1_2017.toReplaceWith(seqALCARECOHcalCalPedestal, _plan1_seqALCARECOHcalCalPedestal)