1 import FWCore.ParameterSet.Config
as cms
4 from DQM.Physics.vertexSelectForHeavyFlavorDQM_cfi
import recoSelectForHeavyFlavorDQM
6 bphWriteSpecificDecayForDQM = cms.EDProducer(
'BPHWriteSpecificDecay',
7 pVertexLabel = cms.string(
'offlinePrimaryVertices'),
8 pfCandsLabel = cms.string(
'particleFlow'),
9 patMuonLabel = cms.string(
'selectedPatMuons'),
10 k0CandsLabel = cms.string(
'generalV0Candidates:Kshort'),
11 l0CandsLabel = cms.string(
'generalV0Candidates:Lambda'),
12 oniaName = cms.string(
'OniaToMuMuCands'),
13 sdName = cms.string(
'Kx0ToKPiCands'),
14 ssName = cms.string(
'PhiToKKCands'),
15 buName = cms.string(
'BuToJPsiKCands'),
16 bpName = cms.string(
'BuToPsi2SKCands'),
17 bdName = cms.string(
'BdToJPsiKx0Cands'),
18 bsName = cms.string(
'BsToJPsiPhiCands'),
19 k0Name = cms.string(
'K0sToPiPiCands'),
20 l0Name = cms.string(
'Lambda0ToPPiCands'),
21 b0Name = cms.string(
'BdToJPsiK0sCands'),
22 lbName = cms.string(
'LambdaBToJPsiLambda0Cands'),
23 bcName = cms.string(
'BcToJPsiPiCands'),
24 psi2SName = cms.string(
'Psi2SToJPsiPiPiCands'),
25 writeVertex = cms.bool(
True ),
26 writeMomentum = cms.bool(
True ),
27 recoSelect = cms.VPSet(recoSelectForHeavyFlavorDQM)
30 heavyFlavorDQM = HeavyFlavorDQMAnalyzer.clone(
31 pvCollection = cms.InputTag(
'offlinePrimaryVertices'),
32 beamSpot = cms.InputTag(
'offlineBeamSpot'),
33 OniaToMuMuCands = cms.InputTag(
'bphWriteSpecificDecayForDQM:OniaToMuMuCands'),
34 Kx0ToKPiCands = cms.InputTag(
'bphWriteSpecificDecayForDQM:Kx0ToKPiCands'),
35 PhiToKKCands = cms.InputTag(
'bphWriteSpecificDecayForDQM:PhiToKKCands'),
36 BuToJPsiKCands = cms.InputTag(
'bphWriteSpecificDecayForDQM:BuToJPsiKCands'),
38 BdToJPsiKx0Cands = cms.InputTag(
'bphWriteSpecificDecayForDQM:BdToJPsiKx0Cands'),
39 BsToJPsiPhiCands = cms.InputTag(
'bphWriteSpecificDecayForDQM:BsToJPsiPhiCands'),
40 K0sToPiPiCands = cms.InputTag(
'bphWriteSpecificDecayForDQM:K0sToPiPiCands'),
41 Lambda0ToPPiCands = cms.InputTag(
'bphWriteSpecificDecayForDQM:Lambda0ToPPiCands'),
42 BdToJPsiK0sCands = cms.InputTag(
'bphWriteSpecificDecayForDQM:BdToJPsiK0sCands'),
43 LambdaBToJPsiLambda0Cands = cms.InputTag(
'bphWriteSpecificDecayForDQM:LambdaBToJPsiLambda0Cands'),
44 BcToJPsiPiCands = cms.InputTag(
'bphWriteSpecificDecayForDQM:BcToJPsiPiCands'),
45 Psi2SToJPsiPiPiCands = cms.InputTag(
'bphWriteSpecificDecayForDQM:Psi2SToJPsiPiPiCands'),
48 heavyFlavorDQMSource = cms.Sequence(bphWriteSpecificDecayForDQM * heavyFlavorDQM)