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