Back to home page

Project CMSSW displayed by LXR



File indexing completed on 2021-02-14 13:15:05

0001 import FWCore.ParameterSet.Config as cms
0003 hcallaserhffilter2012=cms.EDFilter("HcalLaserHFFilter2012",
0004                                      # If verbose==True, then events failing filter will be printed to cout (as run:LS:event)
0005                                      verbose = cms.untracked.bool(False),
0006                                      # String that will appear before any event printed to cout
0007                                      prefix  = cms.untracked.string(""),
0008                                      # If the number of HF calib channels in an event is greater than or equal to minCalibChannelsHFLaser, then the event is considered to be a laser event 
0009                                      minCalibChannelsHFLaser=cms.untracked.int32(10),
0010                                      # Name of Hcal digi collection
0011                                      digilabel=cms.untracked.InputTag("hcalDigis"),
0013                                    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_hffilter.txt'.  Events in the file will not have any prefix added, but will be a simple list of run:ls:event.       
0014                                    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
0015                                      )