1 import FWCore.ParameterSet.Config
as cms
10 hcalminbiasHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
12 eventSetupPathsKey=
'HcalCalMinBiasHI',
16 import RecoLocalCalo.HcalRecProducers.HBHEPhase1Reconstructor_cfi
18 import RecoLocalCalo.HcalRecProducers.hfsimplereco_cfi
19 hfrecoMBNZS = RecoLocalCalo.HcalRecProducers.hfsimplereco_cfi.hfsimplereco.clone()
21 hfrecoMBNZS.firstSample = 2
22 hfrecoMBNZS.samplesToAdd = 2
23 hfrecoMBNZS.digiLabel =
'hcalDigiAlCaMB' 24 hfrecoMBNZS.tsFromDB = cms.bool(
False)
25 hfrecoMBNZS.dropZSmarkedPassed = cms.bool(
False)
27 seqALCARECOHcalCalMinBiasDigi = cms.Sequence(hcalminbiasHLT*hcalDigiAlCaMB*gtDigisAlCaMB)
28 seqALCARECOHcalCalMinBias = cms.Sequence(hbherecoNoise*hfrecoNoise*hfrecoMBNZS*horecoNoise)
30 import RecoLocalCalo.HcalRecProducers.hfprereco_cfi
31 hfprerecoMBNZS = RecoLocalCalo.HcalRecProducers.hfprereco_cfi.hfprereco.clone(
32 digiLabel = cms.InputTag(
"hcalDigiAlCaMB"),
33 dropZSmarkedPassed = cms.bool(
False),
34 tsFromDB = cms.bool(
False),
35 sumAllTimeSlices = cms.bool(
True),
36 forceSOI = cms.int32(1)
38 hfprerecoNoise = RecoLocalCalo.HcalRecProducers.hfprereco_cfi.hfprereco.clone(
39 digiLabel = cms.InputTag(
"hcalDigiAlCaMB"),
40 dropZSmarkedPassed = cms.bool(
False),
41 tsFromDB = cms.bool(
False),
42 sumAllTimeSlices = cms.bool(
False),
43 forceSOI = cms.int32(0)
46 import RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi
47 _phase1_hfrecoMBNZS = RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi.hfreco.clone(
48 inputLabel = cms.InputTag(
"hfprerecoMBNZS"),
49 setNoiseFlags = cms.bool(
False),
51 Class = cms.string(
"HFSimpleTimeCheck"),
52 rejectAllFailures = cms.bool(
False)
55 _phase1_hfrecoNoise = RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi.hfreco.clone(
56 inputLabel = cms.InputTag(
"hfprerecoNoise"),
57 setNoiseFlags = cms.bool(
False),
59 Class = cms.string(
"HFSimpleTimeCheck"),
60 rejectAllFailures = cms.bool(
False)
64 _phase1_seqALCARECOHcalCalMinBias = seqALCARECOHcalCalMinBias.copy()
65 _phase1_seqALCARECOHcalCalMinBias.insert(0,hfprerecoMBNZS)
66 _phase1_seqALCARECOHcalCalMinBias.insert(0,hfprerecoNoise)
68 from Configuration.Eras.Modifier_run2_HF_2017_cff
import run2_HF_2017
69 run2_HF_2017.toReplaceWith( seqALCARECOHcalCalMinBias, _phase1_seqALCARECOHcalCalMinBias )
70 run2_HF_2017.toReplaceWith( hfrecoNoise, _phase1_hfrecoNoise )
71 run2_HF_2017.toReplaceWith( hfrecoMBNZS, _phase1_hfrecoMBNZS )
73 import RecoLocalCalo.HcalRecProducers.hbheplan1_cfi
74 hbheplan1Noise = RecoLocalCalo.HcalRecProducers.hbheplan1_cfi.hbheplan1.clone(
75 hbheInput = cms.InputTag(
"hbheprerecoNoise")
78 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
79 run2_HCAL_2017.toModify( hbherecoNoise,
80 processQIE11 = cms.bool(
True),
85 _plan1_seqALCARECOHcalCalMinBias = _phase1_seqALCARECOHcalCalMinBias.copy()
86 hbheprerecoNoise = hbherecoNoise.clone()
87 _plan1_seqALCARECOHcalCalMinBias.insert(0,hbheprerecoNoise)
88 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff
import run2_HEPlan1_2017
89 run2_HEPlan1_2017.toReplaceWith(hbherecoNoise, hbheplan1Noise)
90 run2_HEPlan1_2017.toReplaceWith(seqALCARECOHcalCalMinBias, _plan1_seqALCARECOHcalCalMinBias)