1 import FWCore.ParameterSet.Config
as cms
3 hbhereco = cms.EDProducer(
4 'HBHEIsolatedNoiseReflagger',
6 debug = cms.untracked.bool(
False),
8 hbheInput = cms.InputTag(
'hbheprereco'),
9 ebInput = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"),
10 eeInput = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE"),
11 trackExtrapolationInput = cms.InputTag(
'trackExtrapolator'),
14 LooseHcalIsol = cms.double(0.08),
15 LooseEcalIsol = cms.double(0.08),
16 LooseTrackIsol = cms.double(0.10),
17 TightHcalIsol = cms.double(0.04),
18 TightEcalIsol = cms.double(0.04),
19 TightTrackIsol = cms.double(0.05),
21 LooseRBXEne1 = cms.double(30.0),
22 LooseRBXEne2 = cms.double(160.0),
23 LooseRBXHits1 = cms.int32(14),
24 LooseRBXHits2 = cms.int32(6),
25 TightRBXEne1 = cms.double(25.0),
26 TightRBXEne2 = cms.double(60.0),
27 TightRBXHits1 = cms.int32(12),
28 TightRBXHits2 = cms.int32(7),
30 LooseHPDEne1 = cms.double(20.0),
31 LooseHPDEne2 = cms.double(80.0),
32 LooseHPDHits1 = cms.int32(6),
33 LooseHPDHits2 = cms.int32(3),
34 TightHPDEne1 = cms.double(10.0),
35 TightHPDEne2 = cms.double(30.0),
36 TightHPDHits1 = cms.int32(6),
37 TightHPDHits2 = cms.int32(3),
39 LooseDiHitEne = cms.double(50.0),
40 TightDiHitEne = cms.double(15.0),
41 LooseMonoHitEne = cms.double(35.0),
42 TightMonoHitEne = cms.double(15.0),
44 RBXEneThreshold = cms.double(500.0),
47 HBThreshold = cms.double(0.7),
48 HESThreshold = cms.double(0.8),
49 HEDThreshold = cms.double(0.8),
50 EBThreshold = cms.double(0.07),
51 EEThreshold = cms.double(0.3),
52 HcalAcceptSeverityLevel = cms.uint32(9),
53 EcalAcceptSeverityLevel = cms.uint32(3),
54 UseHcalRecoveredHits = cms.bool(
True),
55 UseEcalRecoveredHits = cms.bool(
False),
56 UseAllCombinedRechits = cms.bool(
True),
57 MinValidTrackPt = cms.double(0.3),
58 MinValidTrackPtBarrel = cms.double(0.9),
59 MinValidTrackNHits = cms.int32(5),
63 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff
import run2_HEPlan1_2017
64 run2_HEPlan1_2017.toModify(hbhereco, hbheInput = cms.InputTag(
'hbheplan1'))
66 from Configuration.ProcessModifiers.run2_HECollapse_2018_cff
import run2_HECollapse_2018
67 run2_HECollapse_2018.toModify(hbhereco, hbheInput = cms.InputTag(
'hbhecollapse'))