CMS 3D CMS Logo

Reconstruction_Data_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 
6 
7 #HF cleaning for data in the new design
8 # adding q tests for those lines
9 #particleFlowRecHitHCAL.LongShortFibre_Cut = 30.
10 #particleFlowRecHitHCAL.ApplyPulseDPG = True
11 
12 
13 for qTest in particleFlowRecHitHF.producers[0].qualityTests:
14  if qTest.name == 'PFRecHitQTestHCALChannel':
15  qTest.maxSeverities.append(9)
16  qTest.cleaningThresholds.append(30.)
17  qTest.flags.append('HFDigi')
18 
19 
20 import RecoLocalCalo.HcalRecAlgos.RemoveAddSevLevel as HcalRemoveAddSevLevel
21 HcalRemoveAddSevLevel.AddFlag(hcalRecAlgos,"HFDigiTime",11,verbose=False)
22 HcalRemoveAddSevLevel.AddFlag(hcalRecAlgos,"HBHEFlatNoise",12)
23 HcalRemoveAddSevLevel.AddFlag(hcalRecAlgos,"HBHENegativeNoise",12)
24 
25 CSCHaloData.ExpectedBX = cms.int32(3)
26 
27 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFCHSL1FastL2L3ResidualCorrectorTask, ak4PFCHSL1FastL2L3ResidualCorrectorTask
28 
29 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFCHSResidualCorrector, ak4PFCHSL1FastL2L3ResidualCorrector
30 jetCorrectorsForRecoTask.replace(ak4PFCHSL1FastL2L3CorrectorTask, ak4PFCHSL1FastL2L3ResidualCorrectorTask)
Reconstruction_cff
JetCorrectors_cff