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 
0003 hcallaserhbhehffilter2012=cms.EDFilter("HcalLaserHBHEHFFilter2012",
0004                                      # flag to utilize  HBHE laser filter
0005                                      filterHBHE  = cms.bool(True),
0006                                      # If the number of HBHE calib channels in an event is greater than or equal to minCalibChannelsHBHELaser, then the event is considered to be a laser event 
0007                                      minCalibChannelsHBHELaser=cms.int32(20),
0008                                      # If the difference in good vs. bad frational occupancies is greater than minFracDiffHBHELaser, then the event is considered to be a laser event
0009                                      minFracDiffHBHELaser = cms.double(0.3),
0010                                      # minimum charge threshold needed for a calib channel to count towards minCalibChannelsHBHEHELaser
0011                                      HBHEcalibThreshold = cms.double(15.),
0012                                      # Time slices used when computing total charge in a calib channel
0013                                      CalibTS = cms.vint32([3,4,5,6]),
0014 
0015                                      # flag to utilize  HF laser filter
0016                                      filterHF    = cms.bool(True),
0017                                      # 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 
0018                                      minCalibChannelsHFLaser=cms.int32(10),
0019                                      
0020                                      # Name of Hcal digi collection
0021                                      digiLabel=cms.InputTag("hcalDigis"),
0022 
0023                                      # If verbose==True, then events failing filter will be printed to cout (as run:LS:event)
0024                                      verbose = cms.untracked.bool(False),
0025                                      # String that will appear before any event printed to cout
0026                                      prefix  = cms.untracked.string(""),
0027 
0028                                      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_hcalfilter.txt'.  Events in the file will not have any prefix added, but will be a simple list of run:ls:event.
0029                                      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
0030                                      )