CMS 3D CMS Logo

PFMETFilter_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 metFilter = cms.EDFilter("PFMETFilter",
4 # Collections = cms.vstring("genMetTrue", "pfMet-genMetTrue", "pfMet-genMetTrue"),
5 # Variables = cms.vstring("et", "et", "phi"),
6 # Mins = cms.vdouble(30.0,200.0,2.0),
7 # Maxs = cms.vdouble(-1.0,-200.0,-2.0),
8 # DoMin = cms.vint32(1,1,1),
9 # DoMax = cms.vint32(0,1,1),
10  Collections = cms.vstring("pfMet"),
11  Variables = cms.vstring("DeltaMEXcut"),
12  Mins = cms.vdouble(-1.0),
13  Maxs = cms.vdouble(-1.0),
14  DoMin = cms.vint32(0),
15  DoMax = cms.vint32(0),
16  verbose = cms.bool(False),
17  # 1 = true
18  # I do not use vbool because the getParameter function for vbool
19  # is not implemented in FWCore/ParameterSet/src/ParameterSet.cc
20 
21  # parameters for the cut: sqrt(DeltaMEX**2+DeltaMEY**2)>DeltaMEXsigma*sigma,
22  # with sigma=sigma_a+sigma_b*sqrt(SET)+sigma_c*SET
23  TrueMET = cms.string("genMetTrue"),
24  DeltaMEXsigma = cms.double(7.0),
25  sigma_a = cms.double(0.0),
26  sigma_b = cms.double(0.5),
27  sigma_c = cms.double(0.006)
28 
29 # variables can be "et", "eta" or "phi"
30 
31 # #: excluded -: kept
32 
33 # ############|-----------
34 # min
35 
36 # ------------|###########
37 # max
38 
39 # ########|--------|########
40 # min max
41 
42 # --------|########|--------
43 # max min
44 
45 )