Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:24:30

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 hbhereco = cms.EDProducer(
0004     'HBHEIsolatedNoiseReflagger',
0005 
0006     debug = cms.untracked.bool(False),
0007 
0008     hbheInput = cms.InputTag('hbheprereco'),
0009     ebInput = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
0010     eeInput = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
0011     trackExtrapolationInput = cms.InputTag('trackExtrapolator'),
0012 
0013     # isolation cuts
0014     LooseHcalIsol = cms.double(0.08),
0015     LooseEcalIsol = cms.double(0.08),
0016     LooseTrackIsol = cms.double(0.10),
0017     TightHcalIsol = cms.double(0.04),
0018     TightEcalIsol = cms.double(0.04),
0019     TightTrackIsol = cms.double(0.05),
0020 
0021     LooseRBXEne1 = cms.double(30.0),
0022     LooseRBXEne2 = cms.double(160.0),
0023     LooseRBXHits1 = cms.int32(14),
0024     LooseRBXHits2 = cms.int32(6),
0025     TightRBXEne1 = cms.double(25.0),
0026     TightRBXEne2 = cms.double(60.0),
0027     TightRBXHits1 = cms.int32(12),
0028     TightRBXHits2 = cms.int32(7),
0029 
0030     LooseHPDEne1 = cms.double(20.0),
0031     LooseHPDEne2 = cms.double(80.0),
0032     LooseHPDHits1 = cms.int32(6),
0033     LooseHPDHits2 = cms.int32(3),
0034     TightHPDEne1 = cms.double(10.0),
0035     TightHPDEne2 = cms.double(30.0),
0036     TightHPDHits1 = cms.int32(6),
0037     TightHPDHits2 = cms.int32(3),
0038 
0039     LooseDiHitEne = cms.double(50.0),
0040     TightDiHitEne = cms.double(15.0),
0041     LooseMonoHitEne = cms.double(35.0),
0042     TightMonoHitEne = cms.double(15.0),
0043 
0044     RBXEneThreshold = cms.double(500.0),
0045 
0046     # used by the object validator
0047     HBThreshold = cms.double(0.7),
0048     HESThreshold = cms.double(0.8),
0049     HEDThreshold = cms.double(0.8),
0050     EBThreshold = cms.double(0.07),
0051     EEThreshold = cms.double(0.3),
0052     HcalAcceptSeverityLevel = cms.uint32(9),
0053     EcalAcceptSeverityLevel = cms.uint32(3),
0054     UseHcalRecoveredHits = cms.bool(True),
0055     UseEcalRecoveredHits = cms.bool(False),
0056     UseAllCombinedRechits = cms.bool(True),
0057     MinValidTrackPt = cms.double(0.3),
0058     MinValidTrackPtBarrel = cms.double(0.9),
0059     MinValidTrackNHits = cms.int32(5),
0060 
0061  )
0062 
0063 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff import run2_HEPlan1_2017
0064 run2_HEPlan1_2017.toModify(hbhereco, hbheInput = 'hbheplan1')
0065 
0066 from Configuration.ProcessModifiers.run2_HECollapse_2018_cff import run2_HECollapse_2018
0067 run2_HECollapse_2018.toModify(hbhereco, hbheInput = 'hbhecollapse')