CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1TTauOffline_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from DQMOffline.L1Trigger.L1THistDefinitions_cff import histDefinitions
3 
4 tauEfficiencyThresholds = [28, 30, 32, 128, 176]
5 
6 tauEfficiencyBins = []
7 tauEfficiencyBins.extend(list(range(0, 50, 1)))
8 tauEfficiencyBins.extend(list(range(50, 60, 2)))
9 tauEfficiencyBins.extend(list(range(60, 80, 5)))
10 tauEfficiencyBins.extend(list(range(80, 200, 10)))
11 tauEfficiencyBins.extend(list(range(200, 300, 20)))
12 tauEfficiencyBins.extend(list(range(300, 400, 50)))
13 tauEfficiencyBins.extend(list(range(400, 600, 100)))
14 tauEfficiencyBins.extend(list(range(600, 1200, 200)))
15 
16 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
17 l1tTauOfflineDQM = DQMEDAnalyzer(
18  "L1TTauOffline",
19  verbose = cms.untracked.bool(False),
20 
21  muonInputTag = cms.untracked.InputTag("muons"),
22  tauInputTag = cms.untracked.InputTag("hpsPFTauProducer"),
23  metInputTag = cms.untracked.InputTag("pfMet"),
24  antiMuInputTag = cms.untracked.InputTag("hpsPFTauDiscriminationByMuonRejection3"),
25  antiMuWP = cms.untracked.string("ByTightMuonRejection3"),
26  antiEleInputTag = cms.untracked.InputTag("hpsPFTauDiscriminationByMVA6ElectronRejection"),
27  antiEleWP = cms.untracked.string("_Loose"),
28  decayModeFindingInputTag = cms.untracked.InputTag("hpsPFTauDiscriminationByDecayModeFindingOldDMs"),
29  comb3TInputTag = cms.untracked.InputTag("hpsPFTauBasicDiscriminators"),
30  comb3TWP = cms.untracked.string("ByTightCombinedIsolationDBSumPtCorr3Hits"),
31  l1tInputTag = cms.untracked.InputTag("caloStage2Digis:Tau"),
32  vtxInputTag = cms.untracked.InputTag("offlinePrimaryVertices"),
33  bsInputTag = cms.untracked.InputTag("offlineBeamSpot"),
34  triggerNames = cms.untracked.vstring("HLT_IsoMu18_v*","HLT_IsoMu20_v*","HLT_IsoMu22_v*","HLT_IsoMu24_v*","HLT_IsoMu27_v*"),
35  trigInputTag = cms.untracked.InputTag("hltTriggerSummaryAOD", "", "HLT"),
36  trigProcess = cms.untracked.string("HLT"),
37  trigProcess_token = cms.untracked.InputTag("TriggerResults","","HLT"),
38 
39  histFolder=cms.string('L1T/L1TObjects/L1TTau/L1TriggerVsReco'),
40 
41  tauEfficiencyThresholds=cms.vint32(tauEfficiencyThresholds),
42  tauEfficiencyBins=cms.vdouble(tauEfficiencyBins),
43 
44  histDefinitions=cms.PSet(
45  nVertex=histDefinitions.nVertex.clone(),
46  ETvsET=histDefinitions.ETvsET.clone(),
47  PHIvsPHI=histDefinitions.PHIvsPHI.clone(),
48  ),
49 
50 )
51 
52 l1tTauOfflineDQMEmu = l1tTauOfflineDQM.clone(
53  stage2CaloLayer2TauSource=cms.InputTag("simCaloStage2Digis"),
54 
55  histFolder=cms.string('L1TEMU/L1TObjects/L1TTau/L1TriggerVsReco'),
56 )
const uint16_t range(const Frame &aFrame)