CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
hcalLaserEventFilter_cfi.py
Go to the documentation of this file.
2 
3 try:
4  from hcalLaserBadEvents_2011 import badEvents
5 except:
6  print "<hcalLaserEventFilter_cfi> WARNING! No explicit list 'badEvents.py' containing bad HCAL laser run/events was found!"
7  badEvents=[]
8 
9 hcalLaserEventFilter = cms.EDFilter("HcalLaserEventFilter",
10  vetoByRunEventNumber=cms.untracked.bool(False),
11  # Add each bad event as run #, event # in this list
12  BadRunEventNumbers=cms.untracked.vuint32(badEvents
13  # badEvents file contains 218 bad events, as of 28 Nov. 2011
14 
15  ),
16  vetoByHBHEOccupancy=cms.untracked.bool(True),
17  minOccupiedHBHE=cms.untracked.uint32(4000), # minimum number of HBHErechits that must be present for HBHEOccupancy filter to remove event
18 
19  debug = cms.untracked.bool(False),
20  reverseFilter = cms.untracked.bool(False), # if True, will select only events failing filter, rather than events passing
21  hbheInputLabel=cms.untracked.InputTag("hbhereco"),
22  hcalNoiseSummaryLabel=cms.untracked.InputTag("hcalnoise"),
23  taggingMode = cms.bool(False),
24  maxerrormessage = cms.untracked.int32(5), # max number of error messages to print
25  forceUseRecHitCollection=cms.untracked.bool(False), # if specified, will attempt to use HBHE RecHit Collection directly; otherwise, will use information as stored in HcalNoiseSummary object for CMSSW_5_2_0 and above. (If CMSSW version is < 5_2_0, RecHit collection will be used automatically, since HcalNoiseSummary in those versions didn't contain this filter info)
26  forceUseHcalNoiseSummary=cms.untracked.bool(False), # Can likewise specify to force the use of Hcal Noise Summary, regardless of CMSSW version. Perhaps this should be the default, since version checked doesn't allow for comparison of patched older versions with new version?
27  )