Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
from HLTriggerOffline.HeavyFlavor.heavyFlavorValidationHarvesting_cfi import *
from DQMServices.Core.DQMEDHarvester import DQMEDHarvester

baseFolderPath = 'HLT/BPH/HLT/'

hfv1 = heavyFlavorValidationHarvesting.clone(
  MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_DoubleMu4_3_Bs_v')
)
hfv2 = heavyFlavorValidationHarvesting.clone(
  MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_DoubleMu4_3_Jpsi_v')
)


hfvTnP1 = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Mu7p5_L2Mu2_Jpsi_v')
)
hfvTnP2 = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Mu7p5_L2Mu2_Upsilon_v')
)

hfv7 = heavyFlavorValidationHarvesting.clone(
  MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_DoubleMu4_MuMuTrk_Displaced_v')
)

### 2017 additions
hfjpsiMuon = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Dimuon0_Jpsi3p5_Muon2_v')
)

hfjpsiNoVertexing = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Dimuon0_Jpsi_NoVertexing_v')
)

hfjpsiNoVertexingNoOS = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Dimuon0_Jpsi_NoVertexing_NoOS_v')
)

hfjpsiBarrel = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Dimuon20_Jpsi_Barrel_Seagulls_v')
)

hfpsiBarrel = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Dimuon10_PsiPrime_Barrel_Seagulls_v')
)

hfupsilonBarrel = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Dimuon10_Upsilon_Barrel_Seagulls_v')
)

hfphiBarrel = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Dimuon10_Phi_Barrel_Seagulls_v')
)

hfmu25Onia = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Mu25_TkMu0_Onia_v')
)

hfmu30Onia = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Mu30_TkMu0_Onia_v')
)

hfmu25Phi = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Mu25_TkMu0_Phi_v')
)

hfmu20Phi = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Mu20_TkMu0_Phi_v')
)

hfjpsi = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Dimuon25_Jpsi_v')
)

hfpsi = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Dimuon14_PsiPrime_v')
)

hfupsilon = heavyFlavorValidationHarvesting.clone(
    MyDQMrootFolder = cms.untracked.string(baseFolderPath + 'HLT_Dimuon10_Upsilon_y1p4_v')
)


combiner = DQMEDHarvester('PlotCombiner',
  MyDQMrootFolder = cms.untracked.string('HLT/BPH/HLT'),
  Plots = cms.untracked.VPSet(
    cms.untracked.PSet(
      InputMEnames = cms.untracked.vstring(
        'HLT_DoubleMu4_3_Bs_v/effPathDiglobAND_recoEtaPtY',
        'HLT_DoubleMu4_3_Jpsi_v/effPathDiglobAND_recoEtaPtY',
        'HLT_DoubleMu4_MuMuTrk_Displaced_v/effPathDiglobAND_recoEtaPtY',
      ),
      InputLabels = cms.untracked.vstring(
        'HLT_DoubleMu4_3_Bs_v',
        'HLT_DoubleMu4_3_Jpsi_v',
        'HLT_DoubleMu4_MuMuTrk_Displaced_v',
      ),
      OutputMEname = cms.untracked.string('effPathGlob_recoLowPt')
    )
  )
)

combiner2 = combiner.clone(
  Plots = cms.untracked.VPSet(
    cms.untracked.PSet(
      InputMEnames = cms.untracked.vstring(
          'HLT_Dimuon25_Jpsi_v/effPathDiglobAND_recoEtaPtY',
          'HLT_Dimuon14_PsiPrime_v/effPathDiglobAND_recoEtaPtY',
          'HLT_Dimuon10_Upsilon_y1p4_v/effPathDiglobAND_recoEtaPtY',
          'HLT_Mu30_TkMu0_Onia_v/effPathDiglobAND_recoEtaPtY'
      ),
      InputLabels = cms.untracked.vstring(
          'HLT_Dimuon25_Jpsi_v',
          'HLT_Dimuon14_PsiPrime_v',
          'HLT_Dimuon10_Upsilon_y1p4_v',
          'HLT_Mu30_TkMu0_Onia_v'
      ),
      OutputMEname = cms.untracked.string('effPathGlob_recoHighPt')
    )
  )
)

heavyFlavorValidationHarvestingSequence = cms.Sequence(
  hfv1+hfv2
  +hfvTnP1+hfvTnP2
  +hfv7
    + hfjpsiMuon
    + hfjpsiNoVertexing
    + hfjpsiNoVertexingNoOS
    + hfjpsiBarrel
    + hfpsiBarrel
    + hfmu25Onia
    + hfmu30Onia
    + hfmu25Phi
    + hfmu20Phi
    + hfjpsi
    + hfpsi
    + hfupsilon
    +combiner+combiner2
)