CMS 3D CMS Logo

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*", "HLT_IsoMu30_v*"),
35  trigInputTag = cms.untracked.InputTag("hltTriggerSummaryAOD", "", "HLT"),
36  trigProcess = cms.untracked.string("HLT"),
37  trigProcess_token = cms.untracked.InputTag("TriggerResults","","HLT"),
38 
39  stage2CaloLayer2TauSource=cms.InputTag("simCaloStage2Digis"),
40  histFolder=cms.string('L1T/L1TObjects/L1TTau/L1TriggerVsReco'),
41 
42  tauEfficiencyThresholds=cms.vint32(tauEfficiencyThresholds),
43  tauEfficiencyBins=cms.vdouble(tauEfficiencyBins),
44 
45  histDefinitions=cms.PSet(
46  nVertex=histDefinitions.nVertex.clone(),
47  ETvsET=histDefinitions.ETvsET.clone(),
48  PHIvsPHI=histDefinitions.PHIvsPHI.clone(),
49  ),
50 
51 )
52 
53 l1tTauOfflineDQMEmu = l1tTauOfflineDQM.clone(
54  stage2CaloLayer2TauSource= "simCaloStage2Digis",
55 
56  histFolder= 'L1TEMU/L1TObjects/L1TTau/L1TriggerVsReco'
57 )