CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
metFilters_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ## The iso-based HBHE noise filter ___________________________________________||
6 
7 ## The CSC beam halo tight filter ____________________________________________||
9 
10 ## The CSC beam halo tight filter ____________________________________________||
12 
13 ## The CSC beam halo tight filter ____________________________________________||
15 
16 ## The hcal problematic strip halo filter ____________________________________________||
18 
19 ## The HCAL laser filter _____________________________________________________||
21 
22 ## The ECAL dead cell trigger primitive filter _______________________________||
24 
25 ## The ECAL dead cell trigger primitive filter _______________________________||
27 
28 ## The EE bad SuperCrystal filter ____________________________________________||
30 
31 ## The ECAL laser correction filter
33 
34 ## The Good vertices collection needed by the tracking failure filter ________||
35 goodVertices = cms.EDFilter(
36  "VertexSelector",
37  filter = cms.bool(True),
38  src = cms.InputTag("offlinePrimaryVertices"),
39  cut = cms.string("!isFake && ndof > 4 && abs(z) <= 24 && position.rho < 2")
40 )
41 
42 ## The tracking failure filter _______________________________________________||
44 
45 ##noscraping (outdated)_______________________________________________________||
47 
48 ## The primary vertex filter__ _______________________________________________||
50 
51 ## The tracking POG filters __________________________________________________||
53 ## NOTE: to make tagging mode of the tracking POG filters (three of them), please do:
54 ## manystripclus53X.taggedMode = cms.untracked.bool(True)
55 ## manystripclus53X.forcedValue = cms.untracked.bool(False)
56 ## toomanystripclus53X.taggedMode = cms.untracked.bool(True)
57 ## toomanystripclus53X.forcedValue = cms.untracked.bool(False)
58 ## logErrorTooManyClusters.taggedMode = cms.untracked.bool(True)
59 ## logErrorTooManyClusters.forcedValue = cms.untracked.bool(False)
60 ## Also the stored boolean for the three filters is opposite to what we usually
61 ## have for other filters, i.e., true means rejected bad events while false means
62 ## good events.
63 
64 ## The charged hadron track resolution filter _______________________________||
66 
67 ## The muon bad track filter ________________________________________________||
69 
70 metFilters = cms.Sequence(
71  HBHENoiseFilterResultProducer *
72  HBHENoiseFilter *
73  primaryVertexFilter*
74 # HBHENoiseIsoFilter*
75 # HcalStripHaloFilter *
76  CSCTightHaloFilter *
77 # hcalLaserEventFilter *
78 # CSCTightHaloTrkMuUnvetoFilter *
79 # CSCTightHalo2015Filter *
80  EcalDeadCellTriggerPrimitiveFilter*
81 # *goodVertices * trackingFailureFilter *
82  eeBadScFilter*
83 # ecalLaserCorrFilter *
84 # trkPOGFilters
85  chargedHadronTrackResolutionFilter *
86  muonBadTrackFilter
87 )
The tracking POG filters __________________________________________________||.
NOTE: to make tagging mode of the tracking POG filters (three of them), please do: manystripclus53X...
The HCAL laser filter _____________________________________________________||.
The muon bad track filter ________________________________________________||.
The CSC beam halo tight filter ____________________________________________||.
The tracking failure filter _______________________________________________||.
noscraping (outdated)_______________________________________________________||
The EE bad SuperCrystal filter ____________________________________________||.
select events with at least one good PV
The ECAL laser correction filter.
The hcal problematic strip halo filter ____________________________________________||.
The CSC beam halo tight filter ____________________________________________||.
The ECAL dead cell trigger primitive filter _______________________________||.
The ECAL dead cell trigger primitive filter _______________________________||.