CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 from DQMOffline.Trigger.HLTTauDQMOffline_cfi import hltTauOfflineMonitor_TagAndProbe
70 hltTauValTagAndProbe = hltTauValIdealMonitorMC.clone(
71  DQMBaseFolder = cms.untracked.string("HLT/TAU/RelVal/TagAndProbe"),
72  Matching = cms.PSet(
73  doMatching = cms.untracked.bool(True),
74  matchFilters = cms.untracked.VPSet(
75  cms.untracked.PSet(
76  FilterName = cms.untracked.InputTag("TauRefCombiner",""),
77  matchObjectID = cms.untracked.int32(15),
78  ),
79  cms.untracked.PSet(
80  FilterName = cms.untracked.InputTag("TauMCProducer","LeptonicTauElectrons"),
81  matchObjectID = cms.untracked.int32(11),
82  ),
83  cms.untracked.PSet(
84  FilterName = cms.untracked.InputTag("TauMCProducer","LeptonicTauMuons"),
85  matchObjectID = cms.untracked.int32(13),
86  ),
87  cms.untracked.PSet(
88  FilterName = cms.untracked.InputTag("TauMCProducer","MET"),
89  matchObjectID = cms.untracked.int32(0),
90  ),
91  ),
92  ),
93  TagAndProbe = hltTauOfflineMonitor_TagAndProbe.TagAndProbe
94 )
95 
96 #hltTauValIdeal = cms.Sequence(hltTauValIdealMonitorMC+hltTauValIdealMonitorPF)
97 hltTauValIdeal = cms.Sequence(hltTauValIdealMonitorMC+hltTauValIdealMonitorPF+hltTauValTagAndProbe)
98