Skip to content

Commit

Permalink
add customization to run the heavyFlavor DQM from miniAOD collections
Browse files Browse the repository at this point in the history
  • Loading branch information
Enrico Lusiani committed Jul 20, 2022
1 parent c326865 commit dc82e73
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions DQM/Physics/python/customiseHeavyFlavorDQMForMiniAOD.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import FWCore.ParameterSet.Config as cms

def customiseHeavyFlavorDQMForMiniAOD(process):
if hasattr(process, "bphWriteSpecificDecayForDQM"):
process.bphWriteSpecificDecayForDQM.pVertexLabel = cms.string('offlineSlimmedPrimaryVertices')

process.bphWriteSpecificDecayForDQM.pcCandsLabel = cms.string('packedPFCandidates')
process.bphWriteSpecificDecayForDQM.pfCandsLabel = cms.string('')

process.bphWriteSpecificDecayForDQM.patMuonLabel = cms.string('slimmedMuons')

process.bphWriteSpecificDecayForDQM.kSCandsLabel = cms.string('slimmedKshortVertices')
process.bphWriteSpecificDecayForDQM.k0CandsLabel = cms.string('')

process.bphWriteSpecificDecayForDQM.lSCandsLabel = cms.string('slimmedLambdaVertices')
process.bphWriteSpecificDecayForDQM.l0CandsLabel = cms.string('')

if hasattr(process, "heavyFlavorDQM"):
process.heavyFlavorDQM.pvCollection = cms.InputTag('offlineSlimmedPrimaryVertices')

return process

0 comments on commit dc82e73

Please sign in to comment.