Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-07-22 00:50:32

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQM.Physics.HeavyFlavorDQMAnalyzer_cfi import *
0004 from DQM.Physics.vertexSelectForHeavyFlavorDQM_cfi import recoSelectForHeavyFlavorDQM
0005 
0006 bphWriteSpecificDecayForDQM = cms.EDProducer('BPHWriteSpecificDecay',
0007     pVertexLabel = cms.string('offlinePrimaryVertices'),
0008     pfCandsLabel = cms.string('particleFlow'),
0009     patMuonLabel = cms.string('selectedPatMuons'),
0010     k0CandsLabel = cms.string('generalV0Candidates:Kshort'),
0011     l0CandsLabel = cms.string('generalV0Candidates:Lambda'),
0012     oniaName  = cms.string('OniaToMuMuCands'),
0013     sdName    = cms.string('Kx0ToKPiCands'),
0014     ssName    = cms.string('PhiToKKCands'),
0015     buName    = cms.string('BuToJPsiKCands'),
0016     bpName    = cms.string('BuToPsi2SKCands'),
0017     bdName    = cms.string('BdToJPsiKx0Cands'),
0018     bsName    = cms.string('BsToJPsiPhiCands'),
0019     k0Name    = cms.string('K0sToPiPiCands'),
0020     l0Name    = cms.string('Lambda0ToPPiCands'),
0021     b0Name    = cms.string('BdToJPsiK0sCands'),
0022     lbName    = cms.string('LambdaBToJPsiLambda0Cands'),
0023     bcName    = cms.string('BcToJPsiPiCands'),
0024     psi2SName = cms.string('Psi2SToJPsiPiPiCands'),
0025     writeVertex   = cms.bool( True ),
0026     writeMomentum = cms.bool( True ),
0027     recoSelect = cms.VPSet(recoSelectForHeavyFlavorDQM)
0028 )
0029 
0030 heavyFlavorDQM = HeavyFlavorDQMAnalyzer.clone(
0031     pvCollection = cms.InputTag('offlinePrimaryVertices'),
0032     beamSpot = cms.InputTag('offlineBeamSpot'),
0033     OniaToMuMuCands            = cms.InputTag('bphWriteSpecificDecayForDQM:OniaToMuMuCands'),
0034     Kx0ToKPiCands              = cms.InputTag('bphWriteSpecificDecayForDQM:Kx0ToKPiCands'),
0035     PhiToKKCands               = cms.InputTag('bphWriteSpecificDecayForDQM:PhiToKKCands'),
0036     BuToJPsiKCands             = cms.InputTag('bphWriteSpecificDecayForDQM:BuToJPsiKCands'),
0037     #BuToPsi2SKCands            = cms.InputTag('bphWriteSpecificDecayForDQM:BuToPsi2SKCands'),
0038     BdToJPsiKx0Cands           = cms.InputTag('bphWriteSpecificDecayForDQM:BdToJPsiKx0Cands'),
0039     BsToJPsiPhiCands           = cms.InputTag('bphWriteSpecificDecayForDQM:BsToJPsiPhiCands'),
0040     K0sToPiPiCands             = cms.InputTag('bphWriteSpecificDecayForDQM:K0sToPiPiCands'),
0041     Lambda0ToPPiCands          = cms.InputTag('bphWriteSpecificDecayForDQM:Lambda0ToPPiCands'),
0042     BdToJPsiK0sCands           = cms.InputTag('bphWriteSpecificDecayForDQM:BdToJPsiK0sCands'),
0043     LambdaBToJPsiLambda0Cands  = cms.InputTag('bphWriteSpecificDecayForDQM:LambdaBToJPsiLambda0Cands'),
0044     BcToJPsiPiCands            = cms.InputTag('bphWriteSpecificDecayForDQM:BcToJPsiPiCands'),
0045     Psi2SToJPsiPiPiCands       = cms.InputTag('bphWriteSpecificDecayForDQM:Psi2SToJPsiPiPiCands'),
0046 )
0047 
0048 heavyFlavorDQMSource = cms.Sequence(bphWriteSpecificDecayForDQM * heavyFlavorDQM)