Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:04

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 from DQMOffline.Trigger.HLTTauDQMOffline_cfi import hltTauOfflineMonitor_TagAndProbe
0070 hltTauValTagAndProbe = hltTauValIdealMonitorMC.clone(
0071     DQMBaseFolder = cms.untracked.string("HLT/TAU/RelVal/TagAndProbe"),
0072     Matching = cms.PSet(
0073         doMatching            = cms.untracked.bool(True),
0074         matchFilters          = cms.untracked.VPSet(   
0075                                     cms.untracked.PSet(
0076                                         FilterName        = cms.untracked.InputTag("TauRefCombiner",""),
0077                                         matchObjectID     = cms.untracked.int32(15),
0078                                     ),
0079                                     cms.untracked.PSet(
0080                                         FilterName        = cms.untracked.InputTag("TauMCProducer","LeptonicTauElectrons"),
0081                                         matchObjectID     = cms.untracked.int32(11),
0082                                     ),
0083                                     cms.untracked.PSet(
0084                                         FilterName        = cms.untracked.InputTag("TauMCProducer","LeptonicTauMuons"),
0085                                         matchObjectID     = cms.untracked.int32(13),
0086                                     ),
0087                                     cms.untracked.PSet(
0088                                         FilterName        = cms.untracked.InputTag("TauMCProducer","MET"),
0089                                         matchObjectID     = cms.untracked.int32(0),
0090                                     ),
0091                                 ),
0092     ),
0093     TagAndProbe = hltTauOfflineMonitor_TagAndProbe.TagAndProbe
0094 )
0095 
0096 #hltTauValIdeal = cms.Sequence(hltTauValIdealMonitorMC+hltTauValIdealMonitorPF)
0097 hltTauValIdeal = cms.Sequence(hltTauValIdealMonitorMC+hltTauValIdealMonitorPF+hltTauValTagAndProbe)
0098