CMS 3D CMS Logo

ewkTauDQM_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Data-quality monitoring for EWK tau analyses
4 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
5 ewkTauDQM = DQMEDAnalyzer('EwkTauDQM',
6 
7  # name of DQM (root)directory in which all EWK tau histograms get stored
8  dqmDirectory = cms.string("Physics/EwkTau"),
9 
10  # disable all warnings
11  maxNumWarnings = cms.int32(0),
12 
13  # list of individual channels
14  channels = cms.PSet(
15  muTauChannel = cms.PSet(
16  # name of DQM (sub)directory in which histograms for Z --> muon + tau-jet channel get stored
17  dqmSubDirectory = cms.string("MuTauChannel"),
18 
19  # names of input collections
20  triggerResultsSource = cms.InputTag("TriggerResults::HLT"),
21  vertexSource = cms.InputTag("offlinePrimaryVertices"),
22  beamSpotSource = cms.InputTag("offlineBeamSpot"),
23  muonSource = cms.InputTag("muons"),
24  tauJetSource = cms.InputTag("shrinkingConePFTauProducer"),
25  caloMEtSource = cms.InputTag("met"),
26  pfMEtSource = cms.InputTag("pfMet"),
27 
28  tauDiscrByLeadTrackFinding = cms.InputTag("shrinkingConePFTauDiscriminationByLeadingTrackFinding"),
29  tauDiscrByLeadTrackPtCut = cms.InputTag("shrinkingConePFTauDiscriminationByLeadingTrackPtCut"),
30  tauDiscrByTrackIso = cms.InputTag("shrinkingConePFTauDiscriminationByTrackIsolation"),
31  tauDiscrByEcalIso = cms.InputTag("shrinkingConePFTauDiscriminationByECALIsolation"),
32  tauDiscrAgainstMuons = cms.InputTag("shrinkingConePFTauDiscriminationAgainstMuon"),
33 
34  # high-level trigger paths
35  # (at least one of the paths specified in the list is required to be passed)
36  hltPaths = cms.vstring(
37  #"HLT_Mu9"
38  ),
39 
40  # event selection criteria
41  muonEtaCut = cms.double(2.5),
42  muonPtCut = cms.double(15.),
43  muonTrackIsoCut = cms.double(2.),
44  muonEcalIsoCut = cms.double(3.),
45  muonCombIsoCut = cms.double(0.2),
46  #muonIsoMode = cms.string("absoluteIso"),
47  muonIsoMode = cms.string("relativeIso"),
48 
49  tauJetEtaCut = cms.double(2.5),
50  tauJetPtCut = cms.double(15.),
51 
52  visMassCut = cms.double(10.),
53  deltaRCut = cms.double(0.2)
54 
55  ),
56  elecTauChannel = cms.PSet(
57  # name of DQM (sub)directory in which histograms for Z --> electron + tau-jet channel get stored
58  dqmSubDirectory = cms.string("ElecTauChannel"),
59 
60  # names of input collections
61  triggerResultsSource = cms.InputTag("TriggerResults::HLT"),
62  vertexSource = cms.InputTag("offlinePrimaryVertices"),
63  beamSpotSource = cms.InputTag("offlineBeamSpot"),
64  electronSource = cms.InputTag("gedGsfElectrons"),
65  tauJetSource = cms.InputTag("shrinkingConePFTauProducer"),
66  caloMEtSource = cms.InputTag("met"),
67  pfMEtSource = cms.InputTag("pfMet"),
68 
69  tauDiscrByLeadTrackFinding = cms.InputTag("shrinkingConePFTauDiscriminationByLeadingTrackFinding"),
70  tauDiscrByLeadTrackPtCut = cms.InputTag("shrinkingConePFTauDiscriminationByLeadingTrackPtCut"),
71  tauDiscrByTrackIso = cms.InputTag("shrinkingConePFTauDiscriminationByTrackIsolation"),
72  tauDiscrByEcalIso = cms.InputTag("shrinkingConePFTauDiscriminationByECALIsolation"),
73  tauDiscrAgainstElectrons = cms.InputTag("shrinkingConePFTauDiscriminationAgainstElectron"),
74  tauDiscrAgainstMuons = cms.InputTag("shrinkingConePFTauDiscriminationAgainstMuon"),
75 
76  # high-level trigger paths
77  # (at least one of the paths specified in the list is required to be passed)
78  hltPaths = cms.vstring(
79  ##"HLT_Ele10_LW_L1R"
80  ),
81 
82  # event selection criteria
83  electronEtaCut = cms.double(2.5),
84  electronPtCut = cms.double(15.),
85  electronTrackIsoCut = cms.double(0.2),
86  electronEcalIsoCut = cms.double(0.2),
87  electronIsoMode = cms.string("relativeIso"),
88 
89  tauJetEtaCut = cms.double(2.5),
90  tauJetPtCut = cms.double(15.),
91 
92  visMassCut = cms.double(10.)
93  )
94  )
95 )