File indexing completed on 2024-04-09 22:34:00
0001 import FWCore.ParameterSet.Config as cms
0002
0003 hltTauValidationProcess_IDEAL = "HLT"
0004
0005 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0006 hltTauValIdealMonitorMC = DQMEDAnalyzer('HLTTauDQMOfflineSource',
0007 HLTProcessName = cms.untracked.string(hltTauValidationProcess_IDEAL),
0008 DQMBaseFolder = cms.untracked.string("HLT/TAU/RelVal/MC"),
0009 TriggerResultsSrc = cms.untracked.InputTag("TriggerResults", "", hltTauValidationProcess_IDEAL),
0010 TriggerEventSrc = cms.untracked.InputTag("hltTriggerSummaryAOD", "", hltTauValidationProcess_IDEAL),
0011 L1Plotter = cms.untracked.PSet(
0012 DQMFolder = cms.untracked.string('L1'),
0013 L1Taus = cms.untracked.InputTag("caloStage2Digis", "Tau"),
0014 L1ETM = cms.untracked.InputTag("caloStage2Digis","EtSum"),
0015 L1ETMMin = cms.untracked.double(50),
0016 ),
0017 Paths = cms.untracked.string("PFTau"),
0018 PathSummaryPlotter = cms.untracked.PSet(
0019 DQMFolder = cms.untracked.string('Summary'),
0020 ),
0021 Matching = cms.PSet(
0022 doMatching = cms.untracked.bool(True),
0023 matchFilters = cms.untracked.VPSet(
0024 cms.untracked.PSet(
0025 FilterName = cms.untracked.InputTag("TauMCProducer","HadronicTauOneAndThreeProng"),
0026 matchObjectID = cms.untracked.int32(15),
0027 ),
0028 cms.untracked.PSet(
0029 FilterName = cms.untracked.InputTag("TauMCProducer","LeptonicTauElectrons"),
0030 matchObjectID = cms.untracked.int32(11),
0031 ),
0032 cms.untracked.PSet(
0033 FilterName = cms.untracked.InputTag("TauMCProducer","LeptonicTauMuons"),
0034 matchObjectID = cms.untracked.int32(13),
0035 ),
0036 cms.untracked.PSet(
0037 FilterName = cms.untracked.InputTag("TauMCProducer","MET"),
0038 matchObjectID = cms.untracked.int32(0),
0039 ),
0040 ),
0041 ),
0042 )
0043
0044 hltTauValIdealMonitorPF = hltTauValIdealMonitorMC.clone(
0045 DQMBaseFolder = cms.untracked.string("HLT/TAU/RelVal/PF"),
0046 Matching = cms.PSet(
0047 doMatching = cms.untracked.bool(True),
0048 matchFilters = cms.untracked.VPSet(
0049 cms.untracked.PSet(
0050 FilterName = cms.untracked.InputTag("TauRefCombiner",""),
0051 matchObjectID = cms.untracked.int32(15),
0052 ),
0053 cms.untracked.PSet(
0054 FilterName = cms.untracked.InputTag("TauMCProducer","LeptonicTauElectrons"),
0055 matchObjectID = cms.untracked.int32(11),
0056 ),
0057 cms.untracked.PSet(
0058 FilterName = cms.untracked.InputTag("TauMCProducer","LeptonicTauMuons"),
0059 matchObjectID = cms.untracked.int32(13),
0060 ),
0061 cms.untracked.PSet(
0062 FilterName = cms.untracked.InputTag("TauMCProducer","MET"),
0063 matchObjectID = cms.untracked.int32(0),
0064 ),
0065 ),
0066 ),
0067 )
0068
0069 hltTauValIdealMonitorPNet = hltTauValIdealMonitorMC.clone(
0070 DQMBaseFolder = cms.untracked.string("HLT/TAU/RelVal/PNet"),
0071 Paths = cms.untracked.string("PNetTau")
0072 )
0073
0074 from DQMOffline.Trigger.HLTTauDQMOffline_cfi import hltTauOfflineMonitor_TagAndProbe
0075 hltTauValTagAndProbe = hltTauValIdealMonitorMC.clone(
0076 DQMBaseFolder = cms.untracked.string("HLT/TAU/RelVal/TagAndProbe"),
0077 Matching = cms.PSet(
0078 doMatching = cms.untracked.bool(True),
0079 matchFilters = cms.untracked.VPSet(
0080 cms.untracked.PSet(
0081 FilterName = cms.untracked.InputTag("TauRefCombiner",""),
0082 matchObjectID = cms.untracked.int32(15),
0083 ),
0084 cms.untracked.PSet(
0085 FilterName = cms.untracked.InputTag("TauMCProducer","LeptonicTauElectrons"),
0086 matchObjectID = cms.untracked.int32(11),
0087 ),
0088 cms.untracked.PSet(
0089 FilterName = cms.untracked.InputTag("TauMCProducer","LeptonicTauMuons"),
0090 matchObjectID = cms.untracked.int32(13),
0091 ),
0092 cms.untracked.PSet(
0093 FilterName = cms.untracked.InputTag("TauMCProducer","MET"),
0094 matchObjectID = cms.untracked.int32(0),
0095 ),
0096 ),
0097 ),
0098 TagAndProbe = hltTauOfflineMonitor_TagAndProbe.TagAndProbe
0099 )
0100
0101
0102 hltTauValIdeal = cms.Sequence(hltTauValIdealMonitorMC+hltTauValIdealMonitorPF+hltTauValIdealMonitorPNet+hltTauValTagAndProbe)
0103