CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DQMOffline/Trigger/python/MuonPostProcessor_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 hltMuonEfficiencies = cms.EDAnalyzer("DQMGenericClient",
00004 
00005     subDirs        = cms.untracked.vstring("HLT/Muon/Distributions.*"),
00006     verbose        = cms.untracked.uint32(0), # Set to 2 for all messages
00007     outputFileName = cms.untracked.string(''),
00008     commands       = cms.vstring(),
00009     resolution     = cms.vstring(),
00010     efficiency     = cms.vstring(
00011         "efficiencyPhiVsEta 'Efficiency to Match Reco Muons to Trigger Objects; #eta^{reco}; #phi^{reco}' efficiencyPhiVsEta_numer efficiencyPhiVsEta_denom",
00012     ),
00013 
00014     efficiencyProfile = cms.untracked.vstring(
00015         "efficiencyEta 'Efficiency to Match Reco Muons to Trigger Objects; #eta^{reco}; N(#mu matched to trigger object) / N(#mu)' efficiencyEta_numer efficiencyEta_denom",
00016         "efficiencyPhi 'Efficiency to Match Reco Muons to Trigger Objects; #phi^{reco}; N(#mu matched to trigger object) / N(#mu)' efficiencyPhi_numer efficiencyPhi_denom",
00017         "efficiencyTurnOn 'Efficiency to Match Reco Muons to Trigger Objects; p_{T}^{reco}; N(#mu matched to trigger object) / N(#mu)' efficiencyTurnOn_numer efficiencyTurnOn_denom",
00018         "efficiencyD0 'Efficiency to Match Reco Muons to Trigger Objects; d0^{reco}; N(#mu matched to trigger object) / N(#mu)' efficiencyD0_numer efficiencyD0_denom",
00019         "efficiencyZ0 'Efficiency to Match Reco Muons to Trigger Objects; z0^{reco}; N(#mu matched to trigger object) / N(#mu)' efficiencyZ0_numer efficiencyZ0_denom",
00020         "efficiencyCharge 'Efficiency to Match Reco Muons to Trigger Objects; q^{reco}; N(#mu matched to trigger object) / N(#mu)' efficiencyCharge_numer efficiencyCharge_denom",
00021         "fakerateEta 'Trigger Fake Rate; #eta^{trigger}; N(unmatched trigger objects) / N(trigger objects)' fakerateEta_numer fakerateEta_denom",
00022         "fakeratePhi 'Trigger Fake Rate; #phi^{trigger}; N(unmatched trigger objects) / N(trigger objects)' fakeratePhi_numer fakeratePhi_denom",
00023         "fakerateTurnOn 'Trigger Fake Rate; p_{T}^{trigger}; N(unmatched trigger objects) / N(trigger objects)' fakerateTurnOn_numer fakerateTurnOn_denom",
00024     ),
00025 
00026 )
00027 
00028 ZPars = cms.untracked.PSet(
00029     MassDimension = cms.untracked.int32(2),
00030     FitFunction = cms.untracked.string("VoigtianPlusExponential"),
00031     ExpectedMean = cms.untracked.double(91.),
00032     ExpectedSigma = cms.untracked.double(1.),
00033     FixedWidth = cms.untracked.double(2.5),
00034     FitRangeLow = cms.untracked.double(65),
00035     FitRangeHigh = cms.untracked.double(115),
00036     SignalRangeLow = cms.untracked.double(81),
00037     SignalRangeHigh = cms.untracked.double(101),
00038 )
00039 
00040 zClient = cms.EDAnalyzer("DQMGenericTnPClient",
00041   subDirs = cms.untracked.vstring("HLT/Muon/Distributions*"),
00042   #MyDQMrootFolder = cms.untracked.string("HLT/Muon/DistributionsVbtf/HLT_Mu5"),
00043   # Set this if you want to save info about each fit
00044   # SavePlotsInRootFileName = cms.untracked.string("fittingPlots.root"),
00045   Verbose = cms.untracked.bool(False),
00046   Efficiencies = cms.untracked.VPSet(
00047     ZPars.clone(
00048       NumeratorMEname = cms.untracked.string("massVsEta_numer"),
00049       DenominatorMEname = cms.untracked.string("massVsEta_denom"),
00050       EfficiencyMEname = cms.untracked.string("massVsEta_efficiency"),
00051     ),
00052   )
00053 )
00054 
00055 
00056 hltMuonPostVal = cms.Sequence(
00057     hltMuonEfficiencies *
00058     zClient
00059 )