-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add customization to run the heavyFlavor DQM from miniAOD collections
- Loading branch information
Enrico Lusiani
committed
Jul 20, 2022
1 parent
c326865
commit dc82e73
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |