CMS 3D CMS Logo

BTVHLTOfflineSource_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
4 
5 BTVHLTOfflineSource = DQMEDAnalyzer("BTVHLTOfflineSource",
6 
7  dirname = cms.untracked.string("HLT/BTV"),
8  processname = cms.string("HLT"),
9  verbose = cms.untracked.bool(False),
10 
11  triggerSummaryLabel = cms.InputTag("hltTriggerSummaryAOD", "", "HLT"),
12  triggerResultsLabel = cms.InputTag("TriggerResults", "", "HLT"),
13  onlineDiscrLabelPF = cms.InputTag("hltParticleNetDiscriminatorsJetTags", "BvsAll"),
14  offlineDiscrLabelb = cms.InputTag("pfParticleNetAK4DiscriminatorsJetTagsForRECO", "BvsAll"),
15  hltPFPVLabel = cms.InputTag("hltVerticesPFSelector"),
16  offlinePVLabel = cms.InputTag("offlinePrimaryVertices"),
17  offlineIPLabel = cms.InputTag("pfImpactParameterTagInfos"),
18  turnon_threshold_loose = cms.double(0.03),
19  turnon_threshold_medium = cms.double(0.2),
20  turnon_threshold_tight = cms.double(0.6),
21  minDecayLength = cms.double(-9999.0),
22  maxDecayLength = cms.double(5.0),
23  minJetDistance = cms.double(0.0),
24  maxJetDistance = cms.double(0.07),
25  dRTrackMatch = cms.double(0.01),
26 
27  pathPairs = cms.VPSet(
28 
29  cms.PSet(
30  pathname = cms.string("HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_PFDiJet30_v"),
31  pathtype = cms.string("PF")
32  ),
33  ),
34 )
35 
36 #
37 # Relative Online-Offline Track Monitoring
38 #
39 from DQM.TrackingMonitorSource.TrackToTrackComparisonHists_cfi import TrackToTrackComparisonHists
40 
41 referenceTracksForHLTBTag = cms.EDFilter('TrackSelector',
42  src = cms.InputTag('generalTracks'),
43  cut = cms.string("quality('highPurity')")
44 )
45 
46 bTagHLTTrackMonitoring_muPF1 = TrackToTrackComparisonHists.clone(
47  dzWRTPvCut = 0.1,
48  monitoredTrack = "hltMergedTracks",
49  referenceTrack = "referenceTracksForHLTBTag",
50  monitoredBeamSpot = "hltOnlineBeamSpot",
51  referenceBeamSpot = "offlineBeamSpot",
52  topDirName = "HLT/BTV/HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_PFDiJet30PF",
53  referencePrimaryVertices = "offlinePrimaryVertices",
54  monitoredPrimaryVertices = "hltVerticesPFSelector",
55  genericTriggerEventPSet = dict(hltPaths = ["HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_PFDiJet30_v*"])
56 )
57 
58 bTagHLTTrackMonitoringSequence = cms.Sequence(
59  cms.ignore(referenceTracksForHLTBTag)
60  + bTagHLTTrackMonitoring_muPF1
61 )
62