Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:33:08

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # File: CaloMET.cfi
0004 # Author: B. Scurlock & R. Remington
0005 # Date: 03.04.2008
0006 #
0007 # Fill validation histograms for MET
0008 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0009 metAnalyzer = DQMEDAnalyzer(
0010     "METTester",
0011     InputMETLabel = cms.InputTag("caloMet"),
0012     METType = cms.untracked.string("calo"),
0013     PrimaryVertices = cms.InputTag("offlinePrimaryVertices")
0014     )
0015 
0016 #metHOAnalyzer = DQMEDAnalyzer(
0017 #    "METTester",
0018 #    OutputFile = cms.untracked.string(''),
0019 #    InputMETLabel = cms.InputTag("metHO")
0020 #    )
0021 #
0022 #metNoHFAnalyzer = DQMEDAnalyzer(
0023 #    "METTester",
0024 #    OutputFile = cms.untracked.string(''),
0025 #    InputMETLabel = cms.InputTag("metNoHF")
0026 #    )
0027 #
0028 #metNoHFHOAnalyzer = DQMEDAnalyzer(
0029 #    "METTester",
0030 #    OutputFile = cms.untracked.string(''),
0031 #    InputMETLabel = cms.InputTag("metNoHFHO")
0032 #    )
0033 #
0034 #metOptAnalyzer = DQMEDAnalyzer(
0035 #    "METTester",
0036 #    OutputFile = cms.untracked.string(''),
0037 #    InputMETLabel = cms.InputTag("metOpt")
0038 #    )
0039 #
0040 #metOptHOAnalyzer = DQMEDAnalyzer(
0041 #    "METTester",
0042 #    OutputFile = cms.untracked.string(''),
0043 #    InputMETLabel = cms.InputTag("metOptHO")
0044 #    )
0045 #
0046 #metOptNoHFAnalyzer = DQMEDAnalyzer(
0047 #    "METTester",
0048 #    OutputFile = cms.untracked.string(''),
0049 #    InputMETLabel = cms.InputTag("metOptNoHF")
0050 #    )
0051 #
0052 #metOptNoHFHOAnalyzer = DQMEDAnalyzer(
0053 #    "METTester",
0054 #    OutputFile = cms.untracked.string(''),
0055 #    InputMETLabel = cms.InputTag("metOptNoHFHO")
0056 #    )
0057 
0058 pfMetAnalyzer = DQMEDAnalyzer(
0059    "METTester",
0060    InputMETLabel = cms.InputTag("pfMet"),
0061    METType = cms.untracked.string("pf"),
0062    PrimaryVertices = cms.InputTag("offlinePrimaryVertices")
0063    ) 
0064 
0065 #tcMetAnalyzer = DQMEDAnalyzer(
0066 #    "METTester",
0067 #    OutputFile = cms.untracked.string(''),
0068 #    InputMETLabel = cms.InputTag("tcMet"),
0069 #    InputCaloMETLabel = cms.InputTag("caloMet"),
0070 #    InputTrackLabel = cms.InputTag("generalTracks"),
0071 #    InputMuonLabel = cms.InputTag("muons"),
0072 #    InputElectronLabel = cms.InputTag("gedGsfElectrons"),
0073 #    InputBeamSpotLabel = cms.InputTag("offlineBeamSpot"),
0074 #    sample = cms.untracked.string('NULL'),
0075 #    minhits = cms.int32(6),
0076 #    maxd0 = cms.double(0.1),
0077 #    maxchi2 = cms.double(5),
0078 #    maxeta = cms.double(2.65),
0079 #    maxpt = cms.double(100.),
0080 #    maxPtErr = cms.double(0.2),
0081 #    trkQuality = cms.vint32(2),
0082 #    trkAlgos = cms.vint32(),
0083 #    METType = cms.untracked.string("tc")
0084 #    ) 
0085 
0086 #corMetGlobalMuonsAnalyzer = DQMEDAnalyzer(
0087 #    "METTester",
0088 #     OutputFile = cms.untracked.string(''),
0089 #    InputMETLabel = cms.InputTag("caloMetM"),
0090 #    METType = cms.untracked.string("cor")
0091 #    ) 
0092 
0093 
0094 #genMptTrueAnalyzer = DQMEDAnalyzer(
0095 #    "METTester",
0096 #    OutputFile = cms.untracked.string(''),
0097 #    InputMETLabel = cms.InputTag("genMptTrue"),
0098 #    )
0099 
0100 genMetTrueAnalyzer = DQMEDAnalyzer(
0101     "METTester",
0102     InputMETLabel = cms.InputTag("genMetTrue"),
0103     METType = cms.untracked.string("gen"),
0104     PrimaryVertices = cms.InputTag("offlinePrimaryVertices")
0105     )
0106 
0107 #genMetCaloAnalyzer = DQMEDAnalyzer(
0108 #    "METTester",
0109 #    OutputFile = cms.untracked.string(''),
0110 #    InputMETLabel = cms.InputTag("genMetCalo")
0111 #    )
0112 #
0113 #genMptCaloAnalyzer = DQMEDAnalyzer(
0114 #    "METTester",
0115 #    OutputFile = cms.untracked.string(''),
0116 #    InputMETLabel = cms.InputTag("genMptCalo")
0117 #    )
0118 #
0119 #
0120 #genMetCaloAndNonPromptAnalyzer = DQMEDAnalyzer(
0121 #    "METTester",
0122 #    OutputFile = cms.untracked.string(''),
0123 #    InputMETLabel = cms.InputTag("genMetCaloAndNonPrompt")
0124 #    )
0125 pfType0CorrectedMetAnalyzer = DQMEDAnalyzer(
0126    "METTester",
0127    InputMETLabel = cms.InputTag("pfMetT0pc"),
0128    METType = cms.untracked.string("pf"),
0129    PrimaryVertices = cms.InputTag("offlinePrimaryVertices")
0130    )
0131 pfType1CorrectedMetAnalyzer = DQMEDAnalyzer(
0132    "METTester",
0133    InputMETLabel = cms.InputTag("PfMetT1"),
0134    METType = cms.untracked.string("pf"),
0135    PrimaryVertices = cms.InputTag("offlinePrimaryVertices")
0136    )
0137 pfType01CorrectedMetAnalyzer = DQMEDAnalyzer(
0138    "METTester",
0139    InputMETLabel = cms.InputTag("PfMetT0pcT1"),
0140    METType = cms.untracked.string("pf"),
0141    PrimaryVertices = cms.InputTag("offlinePrimaryVertices")
0142    )
0143 pfType1CorrectedMetAnalyzerMiniAOD = DQMEDAnalyzer(
0144    "METTester",
0145    InputMETLabel = cms.InputTag("slimmedMETs"),
0146    METType = cms.untracked.string("miniaod"),
0147    PrimaryVertices = cms.InputTag("offlineSlimmedPrimaryVertices")
0148    )
0149 
0150 pfPuppiMetAnalyzerMiniAOD = DQMEDAnalyzer(
0151    "METTester",
0152    InputMETLabel = cms.InputTag("slimmedMETsPuppi"),
0153    METType = cms.untracked.string("miniaod"),
0154    PrimaryVertices = cms.InputTag("offlineSlimmedPrimaryVertices")
0155    )