Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:43

0001 import FWCore.ParameterSet.Config as cms
0002 import os
0003 
0004 hcallasereventfilter2012=cms.EDFilter("HcalLaserEventFilter2012",
0005                                       # Specify laser events to remove in gziped file
0006                                       eventFileName = cms.string("EventFilter/HcalRawToDigi/data/HCALLaser2012AllDatasets.txt.gz"),
0007                                       # if verbose==true, run:ls:event for any event failing filter will be printed to cout
0008                                       verbose   = cms.untracked.bool(False),
0009                                       # Select a prefix to appear before run:ls:event when run info dumped to cout.  This makes searching for listed events a bit easier
0010                                       prefix    = cms.untracked.string(""),
0011                                       # If minrun or maxrun are >-1, then only a subsection of EventList corresponding to the given [minrun,maxrun] range are searched when looking to reject bad events.  This can speed up the code a bit when looking over a small section of data, since the bad EventList can be shortened considerably.  
0012                                       minrun    = cms.untracked.int32(-1),
0013                                       maxrun    = cms.untracked.int32(-1),
0014                                       WriteBadToFile = cms.untracked.bool(False), # if set to 'True', then the list of events failing the filter cut will be written to a text file 'badHcalLaserList_eventfilter.txt'.  Events in the file will not have any prefix added, but will be a simple list of run:ls:event.
0015                                       forceFilterTrue=cms.untracked.bool(False) # if specified, filter will always return 'True'.  You could use this along with the 'verbose' or 'WriteBadToFile' booleans in order to dump out bad event numbers without actually filtering them
0016                                       )