CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Reconstruction_Data_cff.py
Go to the documentation of this file.
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 particleFlowRecHitHF.producers[0].qualityTests.append(
20  cms.PSet(
21  name = cms.string("PFRecHitQTestHCALTimeVsDepth"),
22  cuts = cms.VPSet(
23  cms.PSet(
24  depth = cms.int32(1),
25  threshold = cms.double(30.),
26  minTime = cms.double(-5.),
27  maxTime = cms.double(+5.),
28  ),
29  cms.PSet(
30  depth = cms.int32(2),
31  threshold = cms.double(30.),
32  minTime = cms.double(-5.),
33  maxTime = cms.double(+5.),
34  )
35  )
36  )
37 )
38 import RecoLocalCalo.HcalRecAlgos.RemoveAddSevLevel as HcalRemoveAddSevLevel
39 HcalRemoveAddSevLevel.AddFlag(hcalRecAlgos,"HFDigiTime",11)
40 HcalRemoveAddSevLevel.AddFlag(hcalRecAlgos,"HBHEFlatNoise",12)
41 HcalRemoveAddSevLevel.AddFlag(hcalRecAlgos,"HBHESpikeNoise",12)
42 
43 CSCHaloData.ExpectedBX = cms.int32(3)