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.HcalSimpleReconstructor_hf_cfi
19 hfrecoMBNZS = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hf_cfi.hfreco.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 import RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi
29 seqALCARECOHcalCalMinBiasDigi = cms.Sequence(hcalminbiasHLT*hcalDigiAlCaMB*gtDigisAlCaMB)
30 seqALCARECOHcalCalMinBias = cms.Sequence(hbherecoNoise*hfrecoNoise*hfrecoMBNZS*horecoNoise)
32 import RecoLocalCalo.HcalRecProducers.hfprereco_cfi
33 hfprerecoMBNZS = RecoLocalCalo.HcalRecProducers.hfprereco_cfi.hfprereco.clone(
34 digiLabel = cms.InputTag(
"hcalDigiAlCaMB"),
35 dropZSmarkedPassed = cms.bool(
False),
36 tsFromDB = cms.bool(
False),
37 sumAllTimeSlices = cms.bool(
True),
38 forceSOI = cms.int32(1)
40 hfprerecoNoise = RecoLocalCalo.HcalRecProducers.hfprereco_cfi.hfprereco.clone(
41 digiLabel = cms.InputTag(
"hcalDigiAlCaMB"),
42 dropZSmarkedPassed = cms.bool(
False),
43 tsFromDB = cms.bool(
False),
44 sumAllTimeSlices = cms.bool(
False),
45 forceSOI = cms.int32(0)
48 import RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi
49 _phase1_hfrecoMBNZS = RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi.hfreco.clone(
50 inputLabel = cms.InputTag(
"hfprerecoMBNZS"),
51 setNoiseFlags = cms.bool(
False),
53 Class = cms.string(
"HFSimpleTimeCheck"),
54 rejectAllFailures = cms.bool(
False)
57 _phase1_hfrecoNoise = RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi.hfreco.clone(
58 inputLabel = cms.InputTag(
"hfprerecoNoise"),
59 setNoiseFlags = cms.bool(
False),
61 Class = cms.string(
"HFSimpleTimeCheck"),
62 rejectAllFailures = cms.bool(
False)
66 _phase1_seqALCARECOHcalCalMinBias = seqALCARECOHcalCalMinBias.copy()
67 _phase1_seqALCARECOHcalCalMinBias.insert(0,hfprerecoMBNZS)
68 _phase1_seqALCARECOHcalCalMinBias.insert(0,hfprerecoNoise)
70 from Configuration.Eras.Modifier_run2_HF_2017_cff
import run2_HF_2017
71 run2_HF_2017.toReplaceWith( seqALCARECOHcalCalMinBias, _phase1_seqALCARECOHcalCalMinBias )
72 run2_HF_2017.toReplaceWith( hfrecoNoise, _phase1_hfrecoNoise )
73 run2_HF_2017.toReplaceWith( hfrecoMBNZS, _phase1_hfrecoMBNZS )
75 import RecoLocalCalo.HcalRecProducers.hbheplan1_cfi
76 hbheplan1Noise = RecoLocalCalo.HcalRecProducers.hbheplan1_cfi.hbheplan1.clone(
77 hbheInput = cms.InputTag(
"hbheprerecoNoise")
80 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
81 run2_HCAL_2017.toModify( hbherecoNoise,
82 processQIE11 = cms.bool(
True),
87 _plan1_seqALCARECOHcalCalMinBias = _phase1_seqALCARECOHcalCalMinBias.copy()
88 hbheprerecoNoise = hbherecoNoise.clone()
89 _plan1_seqALCARECOHcalCalMinBias.insert(0,hbheprerecoNoise)
90 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff
import run2_HEPlan1_2017
91 run2_HEPlan1_2017.toReplaceWith(hbherecoNoise, hbheplan1Noise)
92 run2_HEPlan1_2017.toReplaceWith(seqALCARECOHcalCalMinBias, _plan1_seqALCARECOHcalCalMinBias)