CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
METValidation_cfi.py
Go to the documentation of this file.
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  OutputFile = cms.untracked.string(''),
11  InputMETLabel = cms.InputTag("met"),
12  METType = cms.untracked.string("calo")
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  OutputFile = cms.untracked.string(''),
60  InputMETLabel = cms.InputTag("pfMet"),
61  METType = cms.untracked.string("pf")
62  )
63 
64 tcMetAnalyzer = cms.EDAnalyzer(
65  "METTester",
66  OutputFile = cms.untracked.string(''),
67  InputMETLabel = cms.InputTag("tcMet"),
68  InputCaloMETLabel = cms.InputTag("met"),
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("corMetGlobalMuons"),
89  METType = cms.untracked.string("cor")
90 
91  )
92 
93 
94 #genMptTrueAnalyzer = cms.EDAnalyzer(
95 # "METTester",
96 # OutputFile = cms.untracked.string(''),
97 # InputMETLabel = cms.InputTag("genMptTrue"),
98 # )
99 
100 genMetTrueAnalyzer = cms.EDAnalyzer(
101  "METTester",
102  OutputFile = cms.untracked.string(''),
103  InputMETLabel = cms.InputTag("genMetTrue"),
104  METType = cms.untracked.string("gen")
105  )
106 
107 #genMetCaloAnalyzer = cms.EDAnalyzer(
108 # "METTester",
109 # OutputFile = cms.untracked.string(''),
110 # InputMETLabel = cms.InputTag("genMetCalo")
111 # )
112 #
113 #genMptCaloAnalyzer = cms.EDAnalyzer(
114 # "METTester",
115 # OutputFile = cms.untracked.string(''),
116 # InputMETLabel = cms.InputTag("genMptCalo")
117 # )
118 #
119 #
120 #genMetCaloAndNonPromptAnalyzer = cms.EDAnalyzer(
121 # "METTester",
122 # OutputFile = cms.untracked.string(''),
123 # InputMETLabel = cms.InputTag("genMetCaloAndNonPrompt")
124 # )
125 pfType0CorrectedMetAnalyzer = cms.EDAnalyzer(
126  "METTester",
127  OutputFile = cms.untracked.string(''),
128  InputMETLabel = cms.InputTag("pfType0CorrectedMet"),
129  METType = cms.untracked.string("pf")
130  )
131 pfType1CorrectedMetAnalyzer = cms.EDAnalyzer(
132  "METTester",
133  OutputFile = cms.untracked.string(''),
134  InputMETLabel = cms.InputTag("pfType1CorrectedMet"),
135  METType = cms.untracked.string("pf")
136  )
137 pfType01CorrectedMetAnalyzer = cms.EDAnalyzer(
138  "METTester",
139  OutputFile = cms.untracked.string(''),
140  InputMETLabel = cms.InputTag("pfType01CorrectedMet"),
141  METType = cms.untracked.string("pf")
142  )
143 
144