CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HBHEIsolatedNoiseReflagger_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 hbhereco = cms.EDProducer(
4  'HBHEIsolatedNoiseReflagger',
5 
6  debug = cms.untracked.bool(False),
7 
8  hbheInput = cms.InputTag('hbheprereco'),
9  ebInput = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
10  eeInput = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
11  trackExtrapolationInput = cms.InputTag('trackExtrapolator'),
12 
13  # isolation cuts
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),
20 
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),
29 
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),
38 
39  LooseDiHitEne = cms.double(50.0),
40  TightDiHitEne = cms.double(15.0),
41  LooseMonoHitEne = cms.double(35.0),
42  TightMonoHitEne = cms.double(15.0),
43 
44  RBXEneThreshold = cms.double(500.0),
45 
46  # used by the object validator
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),
60 
61  )
62 
63 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff import run2_HEPlan1_2017
64 run2_HEPlan1_2017.toModify(hbhereco, hbheInput = 'hbheplan1')
65 
66 from Configuration.ProcessModifiers.run2_HECollapse_2018_cff import run2_HECollapse_2018
67 run2_HECollapse_2018.toModify(hbhereco, hbheInput = 'hbhecollapse')