File indexing completed on 2024-04-06 12:09:35
0001 import FWCore.ParameterSet.Config as cms
0002 from DQMOffline.L1Trigger.L1THistDefinitions_cff import histDefinitions
0003
0004 tauEfficiencyThresholds = [28, 30, 32, 128, 176]
0005
0006 tauEfficiencyBins = []
0007 tauEfficiencyBins.extend(list(range(0, 50, 1)))
0008 tauEfficiencyBins.extend(list(range(50, 60, 2)))
0009 tauEfficiencyBins.extend(list(range(60, 80, 5)))
0010 tauEfficiencyBins.extend(list(range(80, 200, 10)))
0011 tauEfficiencyBins.extend(list(range(200, 300, 20)))
0012 tauEfficiencyBins.extend(list(range(300, 400, 50)))
0013 tauEfficiencyBins.extend(list(range(400, 600, 100)))
0014 tauEfficiencyBins.extend(list(range(600, 1200, 200)))
0015
0016 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0017 l1tTauOfflineDQM = DQMEDAnalyzer(
0018 "L1TTauOffline",
0019 verbose = cms.untracked.bool(False),
0020
0021 muonInputTag = cms.untracked.InputTag("muons"),
0022 tauInputTag = cms.untracked.InputTag("hpsPFTauProducer"),
0023 metInputTag = cms.untracked.InputTag("pfMet"),
0024 antiMuInputTag = cms.untracked.InputTag("hpsPFTauDiscriminationByMuonRejection3"),
0025 antiMuWP = cms.untracked.string("ByTightMuonRejection3"),
0026 antiEleInputTag = cms.untracked.InputTag("hpsPFTauDiscriminationByMVA6ElectronRejection"),
0027 antiEleWP = cms.untracked.string("_Loose"),
0028 decayModeFindingInputTag = cms.untracked.InputTag("hpsPFTauDiscriminationByDecayModeFindingOldDMs"),
0029 comb3TInputTag = cms.untracked.InputTag("hpsPFTauBasicDiscriminators"),
0030 comb3TWP = cms.untracked.string("ByTightCombinedIsolationDBSumPtCorr3Hits"),
0031 l1tInputTag = cms.untracked.InputTag("caloStage2Digis:Tau"),
0032 vtxInputTag = cms.untracked.InputTag("offlinePrimaryVertices"),
0033 bsInputTag = cms.untracked.InputTag("offlineBeamSpot"),
0034 triggerNames = cms.untracked.vstring("HLT_IsoMu18_v*","HLT_IsoMu20_v*","HLT_IsoMu22_v*","HLT_IsoMu24_v*","HLT_IsoMu27_v*", "HLT_IsoMu30_v*"),
0035 trigInputTag = cms.untracked.InputTag("hltTriggerSummaryAOD", "", "HLT"),
0036 trigProcess = cms.untracked.string("HLT"),
0037 trigProcess_token = cms.untracked.InputTag("TriggerResults","","HLT"),
0038
0039 stage2CaloLayer2TauSource=cms.InputTag("simCaloStage2Digis"),
0040 histFolder=cms.string('L1T/L1TObjects/L1TTau/L1TriggerVsReco'),
0041
0042 tauEfficiencyThresholds=cms.vint32(tauEfficiencyThresholds),
0043 tauEfficiencyBins=cms.vdouble(tauEfficiencyBins),
0044
0045 histDefinitions=cms.PSet(
0046 nVertex=histDefinitions.nVertex.clone(),
0047 ETvsET=histDefinitions.ETvsET.clone(),
0048 PHIvsPHI=histDefinitions.PHIvsPHI.clone(),
0049 ),
0050
0051 )
0052
0053 l1tTauOfflineDQMEmu = l1tTauOfflineDQM.clone(
0054 stage2CaloLayer2TauSource= "simCaloStage2Digis",
0055
0056 histFolder= 'L1TEMU/L1TObjects/L1TTau/L1TriggerVsReco'
0057 )