CMS 3D CMS Logo

HLTTauValidation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 hltTauValidationProcess_IDEAL = "HLT"
4 
5 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
6 hltTauValIdealMonitorMC = DQMEDAnalyzer('HLTTauDQMOfflineSource',
7  HLTProcessName = cms.untracked.string(hltTauValidationProcess_IDEAL),
8  DQMBaseFolder = cms.untracked.string("HLT/TAU/RelVal/MC"),
9  TriggerResultsSrc = cms.untracked.InputTag("TriggerResults", "", hltTauValidationProcess_IDEAL),
10  TriggerEventSrc = cms.untracked.InputTag("hltTriggerSummaryAOD", "", hltTauValidationProcess_IDEAL),
11  L1Plotter = cms.untracked.PSet(
12  DQMFolder = cms.untracked.string('L1'),
13  L1Taus = cms.untracked.InputTag("caloStage2Digis", "Tau"),
14  L1ETM = cms.untracked.InputTag("caloStage2Digis","EtSum"),
15  L1ETMMin = cms.untracked.double(50),
16  ),
17  Paths = cms.untracked.string("PFTau"),
18  PathSummaryPlotter = cms.untracked.PSet(
19  DQMFolder = cms.untracked.string('Summary'),
20  ),
21  Matching = cms.PSet(
22  doMatching = cms.untracked.bool(True),
23  matchFilters = cms.untracked.VPSet(
24  cms.untracked.PSet(
25  FilterName = cms.untracked.InputTag("TauMCProducer","HadronicTauOneAndThreeProng"),
26  matchObjectID = cms.untracked.int32(15),
27  ),
28  cms.untracked.PSet(
29  FilterName = cms.untracked.InputTag("TauMCProducer","LeptonicTauElectrons"),
30  matchObjectID = cms.untracked.int32(11),
31  ),
32  cms.untracked.PSet(
33  FilterName = cms.untracked.InputTag("TauMCProducer","LeptonicTauMuons"),
34  matchObjectID = cms.untracked.int32(13),
35  ),
36  cms.untracked.PSet(
37  FilterName = cms.untracked.InputTag("TauMCProducer","MET"),
38  matchObjectID = cms.untracked.int32(0),
39  ),
40  ),
41  ),
42 )
43 
44 hltTauValIdealMonitorPF = hltTauValIdealMonitorMC.clone(
45  DQMBaseFolder = cms.untracked.string("HLT/TAU/RelVal/PF"),
46  Matching = cms.PSet(
47  doMatching = cms.untracked.bool(True),
48  matchFilters = cms.untracked.VPSet(
49  cms.untracked.PSet(
50  FilterName = cms.untracked.InputTag("TauRefCombiner",""),
51  matchObjectID = cms.untracked.int32(15),
52  ),
53  cms.untracked.PSet(
54  FilterName = cms.untracked.InputTag("TauMCProducer","LeptonicTauElectrons"),
55  matchObjectID = cms.untracked.int32(11),
56  ),
57  cms.untracked.PSet(
58  FilterName = cms.untracked.InputTag("TauMCProducer","LeptonicTauMuons"),
59  matchObjectID = cms.untracked.int32(13),
60  ),
61  cms.untracked.PSet(
62  FilterName = cms.untracked.InputTag("TauMCProducer","MET"),
63  matchObjectID = cms.untracked.int32(0),
64  ),
65  ),
66  ),
67 )
68 
69 hltTauValIdealMonitorPNet = hltTauValIdealMonitorMC.clone(
70  DQMBaseFolder = cms.untracked.string("HLT/TAU/RelVal/PNet"),
71  Paths = cms.untracked.string("PNetTau")
72 )
73 
74 from DQMOffline.Trigger.HLTTauDQMOffline_cfi import hltTauOfflineMonitor_TagAndProbe
75 hltTauValTagAndProbe = hltTauValIdealMonitorMC.clone(
76  DQMBaseFolder = cms.untracked.string("HLT/TAU/RelVal/TagAndProbe"),
77  Matching = cms.PSet(
78  doMatching = cms.untracked.bool(True),
79  matchFilters = cms.untracked.VPSet(
80  cms.untracked.PSet(
81  FilterName = cms.untracked.InputTag("TauRefCombiner",""),
82  matchObjectID = cms.untracked.int32(15),
83  ),
84  cms.untracked.PSet(
85  FilterName = cms.untracked.InputTag("TauMCProducer","LeptonicTauElectrons"),
86  matchObjectID = cms.untracked.int32(11),
87  ),
88  cms.untracked.PSet(
89  FilterName = cms.untracked.InputTag("TauMCProducer","LeptonicTauMuons"),
90  matchObjectID = cms.untracked.int32(13),
91  ),
92  cms.untracked.PSet(
93  FilterName = cms.untracked.InputTag("TauMCProducer","MET"),
94  matchObjectID = cms.untracked.int32(0),
95  ),
96  ),
97  ),
98  TagAndProbe = hltTauOfflineMonitor_TagAndProbe.TagAndProbe
99 )
100 
101 #hltTauValIdeal = cms.Sequence(hltTauValIdealMonitorMC+hltTauValIdealMonitorPF)
102 hltTauValIdeal = cms.Sequence(hltTauValIdealMonitorMC+hltTauValIdealMonitorPF+hltTauValIdealMonitorPNet+hltTauValTagAndProbe)
103