CMS 3D CMS Logo

METValidation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # File: CaloMET.cfi
4 # Author: B. Scurlock & R. Remington
5 # Date: 03.04.2008
6 #
7 # Fill validation histograms for MET
8 metAnalyzer = cms.EDAnalyzer(
9  "METTester",
10  InputMETLabel = cms.InputTag("caloMet"),
11  METType = cms.untracked.string("calo"),
12  PrimaryVertices = cms.InputTag("offlinePrimaryVertices")
13  )
14 
15 #metHOAnalyzer = cms.EDAnalyzer(
16 # "METTester",
17 # OutputFile = cms.untracked.string(''),
18 # InputMETLabel = cms.InputTag("metHO")
19 # )
20 #
21 #metNoHFAnalyzer = cms.EDAnalyzer(
22 # "METTester",
23 # OutputFile = cms.untracked.string(''),
24 # InputMETLabel = cms.InputTag("metNoHF")
25 # )
26 #
27 #metNoHFHOAnalyzer = cms.EDAnalyzer(
28 # "METTester",
29 # OutputFile = cms.untracked.string(''),
30 # InputMETLabel = cms.InputTag("metNoHFHO")
31 # )
32 #
33 #metOptAnalyzer = cms.EDAnalyzer(
34 # "METTester",
35 # OutputFile = cms.untracked.string(''),
36 # InputMETLabel = cms.InputTag("metOpt")
37 # )
38 #
39 #metOptHOAnalyzer = cms.EDAnalyzer(
40 # "METTester",
41 # OutputFile = cms.untracked.string(''),
42 # InputMETLabel = cms.InputTag("metOptHO")
43 # )
44 #
45 #metOptNoHFAnalyzer = cms.EDAnalyzer(
46 # "METTester",
47 # OutputFile = cms.untracked.string(''),
48 # InputMETLabel = cms.InputTag("metOptNoHF")
49 # )
50 #
51 #metOptNoHFHOAnalyzer = cms.EDAnalyzer(
52 # "METTester",
53 # OutputFile = cms.untracked.string(''),
54 # InputMETLabel = cms.InputTag("metOptNoHFHO")
55 # )
56 
57 pfMetAnalyzer = cms.EDAnalyzer(
58  "METTester",
59  InputMETLabel = cms.InputTag("pfMet"),
60  METType = cms.untracked.string("pf"),
61  PrimaryVertices = cms.InputTag("offlinePrimaryVertices")
62  )
63 
64 #tcMetAnalyzer = cms.EDAnalyzer(
65 # "METTester",
66 # OutputFile = cms.untracked.string(''),
67 # InputMETLabel = cms.InputTag("tcMet"),
68 # InputCaloMETLabel = cms.InputTag("caloMet"),
69 # InputTrackLabel = cms.InputTag("generalTracks"),
70 # InputMuonLabel = cms.InputTag("muons"),
71 # InputElectronLabel = cms.InputTag("gedGsfElectrons"),
72 # InputBeamSpotLabel = cms.InputTag("offlineBeamSpot"),
73 # sample = cms.untracked.string('NULL'),
74 # minhits = cms.int32(6),
75 # maxd0 = cms.double(0.1),
76 # maxchi2 = cms.double(5),
77 # maxeta = cms.double(2.65),
78 # maxpt = cms.double(100.),
79 # maxPtErr = cms.double(0.2),
80 # trkQuality = cms.vint32(2),
81 # trkAlgos = cms.vint32(),
82 # METType = cms.untracked.string("tc")
83 # )
84 
85 #corMetGlobalMuonsAnalyzer = cms.EDAnalyzer(
86 # "METTester",
87 # OutputFile = cms.untracked.string(''),
88 # InputMETLabel = cms.InputTag("caloMetM"),
89 # METType = cms.untracked.string("cor")
90 # )
91 
92 
93 #genMptTrueAnalyzer = cms.EDAnalyzer(
94 # "METTester",
95 # OutputFile = cms.untracked.string(''),
96 # InputMETLabel = cms.InputTag("genMptTrue"),
97 # )
98 
99 genMetTrueAnalyzer = cms.EDAnalyzer(
100  "METTester",
101  InputMETLabel = cms.InputTag("genMetTrue"),
102  METType = cms.untracked.string("gen"),
103  PrimaryVertices = cms.InputTag("offlinePrimaryVertices")
104  )
105 
106 #genMetCaloAnalyzer = cms.EDAnalyzer(
107 # "METTester",
108 # OutputFile = cms.untracked.string(''),
109 # InputMETLabel = cms.InputTag("genMetCalo")
110 # )
111 #
112 #genMptCaloAnalyzer = cms.EDAnalyzer(
113 # "METTester",
114 # OutputFile = cms.untracked.string(''),
115 # InputMETLabel = cms.InputTag("genMptCalo")
116 # )
117 #
118 #
119 #genMetCaloAndNonPromptAnalyzer = cms.EDAnalyzer(
120 # "METTester",
121 # OutputFile = cms.untracked.string(''),
122 # InputMETLabel = cms.InputTag("genMetCaloAndNonPrompt")
123 # )
124 pfType0CorrectedMetAnalyzer = cms.EDAnalyzer(
125  "METTester",
126  InputMETLabel = cms.InputTag("pfMetT0pc"),
127  METType = cms.untracked.string("pf"),
128  PrimaryVertices = cms.InputTag("offlinePrimaryVertices")
129  )
130 pfType1CorrectedMetAnalyzer = cms.EDAnalyzer(
131  "METTester",
132  InputMETLabel = cms.InputTag("PfMetT1"),
133  METType = cms.untracked.string("pf"),
134  PrimaryVertices = cms.InputTag("offlinePrimaryVertices")
135  )
136 pfType01CorrectedMetAnalyzer = cms.EDAnalyzer(
137  "METTester",
138  InputMETLabel = cms.InputTag("PfMetT0pcT1"),
139  METType = cms.untracked.string("pf"),
140  PrimaryVertices = cms.InputTag("offlinePrimaryVertices")
141  )
142 pfType1CorrectedMetAnalyzerMiniAOD = cms.EDAnalyzer(
143  "METTester",
144  InputMETLabel = cms.InputTag("slimmedMETs"),
145  METType = cms.untracked.string("miniaod"),
146  PrimaryVertices = cms.InputTag("offlineSlimmedPrimaryVertices")
147  )
148 
149 pfPuppiMetAnalyzerMiniAOD = cms.EDAnalyzer(
150  "METTester",
151  InputMETLabel = cms.InputTag("slimmedMETsPuppi"),
152  METType = cms.untracked.string("miniaod"),
153  PrimaryVertices = cms.InputTag("offlineSlimmedPrimaryVertices")
154  )