Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-05 02:39:08

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMOffline.Trigger.BPHMonitor_cfi import hltBPHmonitoring
0004 
0005 # Tau3Mu
0006 from DQMOffline.Trigger.Tau3MuMonitor_cff import *
0007 
0008 Dimuon0_Jpsi_tnp = hltBPHmonitoring.clone(
0009     FolderName = 'HLT/BPH/DiMu0_Jpsi_L1_NO_OS_denTrack2/',
0010     tnp = True,
0011     enum = 1,
0012     muoSelection_ref = "pt>7.5 && abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0013     muoSelection = "abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0014     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Jpsi_L1_NoOS_v*"]),
0015     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0_SQ"]),
0016     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Mu7p5_Track2_Jpsi_v*"])
0017     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_SingleMu5_SQ OR L1_SingleMu7_SQ"])
0018 )
0019 
0020 Dimuon25_Jpsi_tnp = hltBPHmonitoring.clone(
0021     FolderName = 'HLT/BPH/DiMu25_Jpsi_noCorr/',
0022     tnp = True,
0023     enum = 1,
0024     muoSelection_ref = "pt>7.5 && abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0025     muoSelection = "abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0026     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon25_Jpsi_noCorrL1_v*"]),
0027     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu8_SQ"])
0028 )
0029 
0030 ##
0031 Dimuon0_Jpsi_tnp1 = hltBPHmonitoring.clone(
0032     FolderName = 'HLT/BPH/DiMu0_Jpsi_L1_NO_OS_denTrack7/',
0033     tnp = True,
0034     enum = 1,
0035     muoSelection_ref = "pt>7.5 & abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0036     muoSelection = "abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0037     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Jpsi_L1_NoOS_v*"]),
0038     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0_SQ"]),
0039     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Mu7p5_Track7_Jpsi_v*"])
0040     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_SingleMu5_SQ OR L1_SingleMu7_SQ"])
0041 )
0042 
0043 ##
0044 Dimuon0_Jpsi_tnp2 = hltBPHmonitoring.clone(
0045     FolderName = 'HLT/BPH/DiMu0_Jpsi_L1_NO_OS_denTrack3p5/',
0046     tnp = True,
0047     enum = 1,
0048     muoSelection_ref = "pt>7.5 && abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0049     muoSelection = "abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0050     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Jpsi_L1_NoOS_v*"]),
0051     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0_SQ"]),
0052     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Mu7p5_Track3p5_Jpsi_v*"])
0053     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_SingleMu5_SQ OR L1_SingleMu7_SQ"])
0054 )
0055 
0056 ##
0057 
0058 Dimuon0_Jpsi_OS = hltBPHmonitoring.clone(
0059     FolderName = 'HLT/BPH/DiMu0_Jpsi_L1_OS/',
0060     tnp = False,
0061     enum = 2,
0062     Jpsi = 1,
0063     muoSelection_ref = cms.string("abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 "),
0064     DMSelection_ref = cms.string("abs(Eta)<2.4"),
0065     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Jpsi_v*"]),
0066     #numGenericTriggerEventPSet =dict(l1Algorithms = ["L1_DoubleMu0_SQ_OS"]),
0067     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Jpsi_L1_NoOS_v*"])
0068     #denGenericTriggerEventPSet =dict(l1Algorithms = ["L1_DoubleMu0_SQ"])
0069 )
0070 
0071 ###
0072 
0073 Dimuon0_er = hltBPHmonitoring.clone(
0074     FolderName = 'HLT/BPH/DiMu0_Lowmass_L1_er/',
0075     tnp = False,
0076     enum = 3,
0077     Jpsi = 1,
0078     muoSelection_ref = "abs(eta)<1.5 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0079     DMSelection_ref = "abs(Eta)<1.5",
0080     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_LowMass_L1_0er1p5_v*"]),
0081     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS"]),
0082     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Jpsi_v*"])
0083     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0_SQ_OS"])
0084 )
0085 
0086 ###
0087 Dimuon0_Upsilon_er = hltBPHmonitoring.clone(
0088     FolderName = 'HLT/BPH/DiMu0_Upsilon_L1_er/',
0089     tnp = False,
0090     enum = 3, 
0091     Upsilon = 1,
0092     muoSelection_ref = "abs(eta)<2. &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0093     DMSelection_ref = "abs(Eta)<2.",
0094     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Upsilon_L1_4p5er2p0_v*"]),
0095     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4p5er2p0_SQ_OS"]),
0096     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Upsilon_L1_4p5_v*"]),
0097     #denGenericTriggerEventPSet =dict(l1Algorithms = ["L1_DoubleMu4p5_SQ_OS"])
0098 )
0099 
0100 ###L1 dR cut
0101 
0102 ###
0103 DMu4_3_Bs_dRcut = hltBPHmonitoring.clone(
0104     FolderName = 'HLT/BPH/DMu4_3_Bs_L1_dR/',
0105     tnp = False,
0106     enum = 4,
0107     ptCut = 1,
0108     muoSelection_ref = "pt>4.5 && abs(eta)<1.5 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0109     muoSelection = "pt>3.5 && abs(eta)<1.5 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0110     DMSelection_ref = "abs(Eta)<1.5 && Pt>5.5 && M<5.9 && M>4.6",
0111     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu4_3_Bs_v*"]),
0112     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS_dR_1p4"]),
0113     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_LowMass_L1_0er1p5_v*"]),
0114     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS"]),
0115     histoPSet = dict(dRPSet = dict(
0116         nbins = 30,  
0117         xmin  = 0.4,
0118         xmax  = 1.9),
0119     massPSet = dict(
0120         nbins = 9,
0121         xmin  = 4.4,
0122         xmax  = 6.2)
0123     )
0124 )
0125 
0126 DMu4_3_Jpsi_dRcut = hltBPHmonitoring.clone(
0127     FolderName = 'HLT/BPH/DMu4_3_Jpsi_L1_dR/',
0128     tnp = False,
0129     enum = 4,
0130     Jpsi = 1,
0131     ptCut = 1,
0132     muoSelection_ref = "pt>4.5 &&  abs(eta)<1.5 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0133     muoSelection = "pt>3.5 && abs(eta)<1.5 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0134     DMSelection_ref = "abs(Eta)<1.5",
0135     numGenericTriggerEventPSet =dict(hltPaths = ["HLT_DoubleMu4_3_Jpsi_v*"]),
0136     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS_dR_1p4"]),
0137     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_LowMass_L1_0er1p5_v*"]),
0138     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS"]),
0139     histoPSet = dict(massPSet = dict(
0140         nbins = 10,
0141         xmin  = 2.8,
0142         xmax  = 3.3)
0143 )
0144 )
0145 
0146 Dimuon14_Phi_dRcut = hltBPHmonitoring.clone(
0147     FolderName = 'HLT/BPH/DiMu14_Phi_L1_dR/',
0148     tnp = False,
0149     enum = 4,
0150     seagull = 1,
0151     muoSelection_ref = "abs(eta)<1.5 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0152     DMSelection_ref = "M>0.95 & M<1.1 & Pt>15 & abs(Eta)<1.2",
0153     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon14_Phi_Barrel_Seagulls_v*"]),
0154     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS_dR_1p4"]),
0155     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_LowMass_L1_0er1p5_v*"]),
0156     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS"]),
0157     histoPSet = dict(dRPSet = dict(
0158                         nbins = 35,
0159                         xmin  = 0,    
0160                         xmax  = 0.7),
0161                     massPSet = dict(
0162                         nbins =  10,
0163                         xmin  = 0.95,
0164                         xmax  = 1.1)
0165    )
0166 )
0167 
0168 DMu4_LowMassNonResonantTrk_Displaced_dRcut = hltBPHmonitoring.clone(
0169     FolderName = 'HLT/BPH/DMu4_LowMassNonResonantTrk_Displaced_L1_dR/',
0170     tnp = False,
0171     enum = 4,
0172     muoSelection_ref = "pt>5 & abs(eta)<1.5 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0173     DMSelection_ref = "((M>1.1 & M<2.8) | (M>4.1 & M<4.7)) & abs(Eta)<1.5",
0174     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu4_LowMassNonResonantTrk_Displaced_v*"]),
0175     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS_dR_1p4"]),
0176     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_LowMass_L1_0er1p5_v*"]),
0177     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS"]),
0178     histoPSet = dict(massPSet = dict(
0179         nbins = 10,
0180         xmin  = 1.,
0181         xmax  = 3.)
0182 )
0183 )
0184 
0185 DMu4_LowMassNonResonantTrk_Displaced_dRcut_low = hltBPHmonitoring.clone(
0186     FolderName = 'HLT/BPH/DMu4_LowMassNonResonantTrk_Displaced_L1_dR_low/',
0187     tnp = False,
0188     enum = 4,
0189     muoSelection_ref = "pt>5 & abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0190     DMSelection_ref = "((M>1.1 & M<2.8) | (M>4.1 & M<4.7)) & abs(Eta)<2.4",
0191     max_dR = 1.2,
0192     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu4_LowMassNonResonantTrk_Displaced_v*"]),
0193     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_dR_Max1p2"]),
0194     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_LowMass_L1_4_v*"]),
0195     #denGenericTriggerEventPSet = dict(l1Algorithms =["L1_DoubleMu4_SQ_OS"]),
0196     histoPSet = dict(massPSet = dict(
0197         nbins = 10,
0198         xmin  = 1.,
0199         xmax  = 3.)
0200 )
0201 )
0202 
0203 DMu4_JpsiTrk_Displaced_dRcut = hltBPHmonitoring.clone(
0204     FolderName = 'HLT/BPH/DMu4_JpsiTrk_Displaced_L1_dR/',
0205     tnp = False,
0206     enum = 4,
0207     Jpsi = 1,
0208     muoSelection_ref = "pt>5 & abs(eta)<1.5 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0209     DMSelection_ref = "abs(Eta)<1.5",
0210     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu4_JpsiTrk_Displaced_v*"]),
0211     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS_dR_1p4"]),
0212     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_LowMass_L1_0er1p5_v*"]),
0213     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS"]),
0214     histoPSet = dict(massPSet = dict(
0215         nbins = 10,
0216         xmin  = 2.8,
0217         xmax  = 3.3)
0218 )
0219 )
0220 
0221 DMu4_JpsiTrk_Displaced_dRcut_low = hltBPHmonitoring.clone(
0222     FolderName = 'HLT/BPH/DMu4_JpsiTrk_Displaced_L1_dR_low/',
0223     tnp = False,
0224     enum = 4,
0225     Jpsi = 1,
0226     muoSelection_ref = "pt>5 & abs(eta)<2.4  &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0227     DMSelection_ref = "abs(Eta)<2.4",
0228     max_dR = 1.2,
0229     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu4_JpsiTrk_Displaced_v*"]),
0230     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_dR_Max1p2"]),
0231     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_LowMass_L1_4_v*"]),
0232     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS"]),
0233     histoPSet = dict(massPSet = dict(
0234         nbins = 10 ,
0235         xmin  = 2.8,
0236         xmax  = 3.3)
0237 )
0238 )
0239 
0240 DMu4_PsiPrimeTrk_Displaced_dRcut = hltBPHmonitoring.clone(
0241     FolderName = 'HLT/BPH/DMu4_PsiPrimeTrk_Displaced_L1_dR/',
0242     tnp = False,
0243     enum = 4,
0244     muoSelection_ref = "pt>5 & abs(eta)<1.5 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0245     DMSelection_ref = "M>3.4 & M<3.95 & abs(Eta)<1.5",
0246     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu4_PsiPrimeTrk_Displaced_v*"]),
0247     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS_dR_1p4"]),
0248     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_LowMass_L1_0er1p5_v*"]),
0249     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS"]),
0250     histoPSet = dict(massPSet = dict(
0251         nbins = 12,
0252         xmin  = 3.3,
0253         xmax  = 3.9)
0254 )
0255 )
0256 
0257 
0258 DMu4_PsiPrimeTrk_Displaced_dRcut_low = hltBPHmonitoring.clone(
0259     FolderName = 'HLT/BPH/DMu4_PsiPrimeTrk_Displaced_L1_dR_low/',
0260     tnp = False,
0261     enum = 4,
0262     muoSelection_ref = "pt>5 & abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0263     DMSelection_ref = "M>3.4 & M<3.95 & abs(Eta)<2.4",
0264     max_dR = 1.2,
0265     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu4_PsiPrimeTrk_Displaced_v*"]),
0266     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_dR_Max1p2"]),
0267     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_LowMass_L1_4_v*"]),
0268     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS"]),
0269     histoPSet = dict(massPSet = dict(
0270          nbins = 12,   
0271          xmin  = 3.3,
0272          xmax  = 3.9)   
0273     )
0274 )
0275 
0276 Dimuon25_Jpsi_dRcut = hltBPHmonitoring.clone(
0277     FolderName = 'HLT/BPH/DiMu25_Jpsi_L1_dR/',
0278     tnp = False,
0279     enum = 4,
0280     Jpsi = 1,
0281     muoSelection_ref = "abs(eta)<1.5 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0282     DMSelection_ref = "Pt>26 & abs(Eta)<1.5",
0283     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon25_Jpsi_v*"]),
0284     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS_dR_1p4"]),
0285     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_LowMass_L1_0er1p5_v*"]),
0286     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS"]),
0287     histoPSet = dict(dRPSet = dict(
0288         nbins = 20,
0289         xmin  = 0.,
0290          xmax  = 1.),
0291         massPSet = dict(
0292         nbins  = 10 ,
0293         xmin  = 2.8,
0294         xmax  = 3.3)
0295   )
0296 )
0297 
0298 Dimuon18_PsiPrime_dRcut = hltBPHmonitoring.clone(
0299     FolderName = 'HLT/BPH/DiMu18_PsiPrime_L1_dR/',
0300     tnp = False,
0301     enum = 4,
0302     muoSelection_ref = "abs(eta)<1.5 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0303     DMSelection_ref = "M>3.4 & M<3.95 & Pt>19 & abs(Eta)<1.5",
0304     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon18_PsiPrime_v*"]),
0305     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS_dR_1p4"]),
0306     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_LowMass_L1_0er1p5_v*"]),
0307     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0er1p5_SQ_OS"]),
0308     histoPSet = dict(massPSet = dict(
0309     nbins = 12 ,
0310     xmin  = 3.3,
0311     xmax  = 3.9,)
0312 )
0313 )
0314 
0315 Dimuon25_Jpsi_dRcut_low = hltBPHmonitoring.clone(
0316     FolderName = 'HLT/BPH/DiMu25_Jpsi_L1_dR_low/',
0317     tnp = False,
0318     enum = 4,
0319     Jpsi = 1,
0320     muoSelection_ref = "pt>5 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0321     DMSelection_ref = "Pt>26 & abs(Eta)<2.4",
0322     max_dR = 1.2,
0323     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon25_Jpsi_v*"]),
0324     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_dR_Max1p2"]),
0325     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_LowMass_L1_4_v*"]),
0326     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS"]),
0327     histoPSet = dict(dRPSet = dict(
0328         nbins = 18 ,
0329         xmin  = 0.,
0330         xmax  = 0.9,
0331     ),
0332         massPSet = dict(
0333         nbins = 10 ,
0334         xmin  = 2.8,
0335         xmax  = 3.3)
0336     )
0337 )
0338 
0339 
0340 Dimuon18_PsiPrime_dRcut_low = hltBPHmonitoring.clone(
0341     FolderName = 'HLT/BPH/DiMu18_PsiPrime_L1_dR_low/',
0342     tnp = False,
0343     enum = 4,
0344     muoSelection_ref = "pt>5 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0345     DMSelection_ref = "M>3.4 & M<3.95 & Pt>19 & abs(Eta)<2.4",
0346     max_dR = 1.2,
0347     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon18_PsiPrime_v*"]),
0348     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_dR_Max1p2"]),
0349     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_LowMass_L1_4_v*"]),
0350     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS"]),
0351     histoPSet = dict(massPSet = dict(
0352         nbins = 10 ,
0353         xmin  = 3.4,
0354         xmax  = 4.0)
0355     )
0356 )
0357 
0358 
0359 ###
0360 ###mass cut
0361 Dimuon20_masscut1 = hltBPHmonitoring.clone(
0362     FolderName = 'HLT/BPH/DiMu20_Upsilon_L1_masscut1/',
0363     tnp = False,
0364     Upsilon = 1,
0365     enum = 5,
0366     seagull = 1,
0367     muoSelection_ref = "pt>5 && abs(eta)<2.0 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0368     DMSelection_ref = "M<18 & M>7 & Pt>11 & abs(Eta)<1.2",
0369     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon10_Upsilon_Barrel_Seagulls_v*"]),
0370     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4p5er2p0_SQ_OS_Mass_7to18"]),
0371     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Upsilon_L1_4p5er2p0_v*"]),
0372     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4p5er2p0_SQ_OS"])
0373 )
0374 
0375 Dimuon12_masscut2 = hltBPHmonitoring.clone(
0376     FolderName = 'HLT/BPH/DiMu12_Upsilon_L1_masscut2/',
0377     tnp = False,
0378     enum = 5,
0379     Upsilon = 1,
0380     muoSelection_ref = "pt>5 && abs(eta)<2.0 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0381     DMSelection_ref = "Pt>13 & abs(y)<1.5",
0382     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon12_Upsilon_y1p4_v*"]),
0383     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4p5er2p0_SQ_OS_Mass_7to18"]),
0384     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Upsilon_L1_4p5er2p0_v*"]),
0385     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4p5er2p0_SQ_OS"])
0386 )
0387 
0388 Trimuon2_masscut4 = hltBPHmonitoring.clone(
0389     FolderName = 'HLT/BPH/TripleMu2_Upsilon_L1_masscut4',
0390     tnp = False,
0391     enum = 5,
0392     Upsilon = 1,
0393     muoSelection_ref = "pt>5 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0394     DMSelection_ref = "M<17 & M>5 & Pt>6 & abs(Eta)<2.4",
0395     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Trimuon2_Upsilon5_Muon_v*"]),
0396     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_TripleMu5_3p5_2p2_DoubleMu5_2p5_Mass5to17"]),
0397     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Trimuon2_Upsilon5_Muon_NoL1Mass_v*"]),
0398     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_TripleMu5_3p5_2"])
0399 )
0400 
0401 Trimuon2_masscut5 = hltBPHmonitoring.clone(
0402     FolderName = 'HLT/BPH/DoubleMu3_Trk_L1_masscut5',
0403     tnp = False,
0404     enum = 5,
0405     muoSelection_ref = "pt>4 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0406     DMSelection_ref = "M<9 & abs(Eta)<2.4",
0407     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu3_Trk_Tau3mu_v*"]),
0408     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_TripleMu_5SQ_3SQ_0OQ_DoubleMu5_3_SQ_Mass_Max9"]),
0409     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu3_Trk_Tau3mu_NoL1Mass_v*"]),
0410     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_TripleMu5_3p5_2"])
0411 )
0412 
0413 Trimuon2_masscut6 = hltBPHmonitoring.clone(
0414     FolderName = 'HLT/BPH/DoubleMu3_Trk_L1_masscut6',
0415     tnp = False,
0416     enum = 5,
0417     muoSelection_ref = "pt>3 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0418     DMSelection_ref = "M<9 & abs(Eta)<2.4",
0419     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Jpsi3p5_Muon2_v*"]),
0420     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_TripleMu_5SQ_3SQ_0OQ_DoubleMu5_3_SQ_Mass_Max9"]),
0421     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Jpsi_v*"]),
0422     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0_SQ_OS"]),
0423     histoPSet = dict(dRPSet = dict(
0424         nbins = 30,   
0425         xmin  = 0.,
0426         xmax  = 1.5)
0427 )
0428 )
0429 
0430 ###triple muon
0431 
0432 Dimuon0_tripleMu1 = hltBPHmonitoring.clone(
0433     FolderName = 'HLT/BPH/DiMu0_Lowmass_L1_tripleMu1/',
0434     tnp = False,
0435     enum = 6,
0436     muoSelection_ref = "pt>4 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0437     DMSelection_ref = "abs(Eta)<2.4",
0438     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Trimuon2_Upsilon5_Muon_NoL1Mass_v*"]),
0439     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_TripleMu5_3p5_2"]),
0440     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Upsilon_Muon_NoL1Mass_v*"]),
0441     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_TripleMu5_3p5_2"])
0442 )
0443 
0444 Dimuon0_tripleMu2 = hltBPHmonitoring.clone(
0445     FolderName = 'HLT/BPH/DiMu0_Lowmass_L1_tripleMu2/',
0446     tnp = False,
0447     enum = 6,
0448     muoSelection_ref = "pt>4 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0449     DMSelection_ref = "abs(Eta)<2.4",
0450     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Trimuon5_3p5_2_Upsilon_Muon_v*"]),
0451     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_TripleMu5_3p5_2"]),
0452     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Upsilon_Muon_NoL1Mass_v*"]),
0453     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_TripleMu0"])
0454 )
0455 
0456 
0457 Dimuon0_tripleMu3 = hltBPHmonitoring.clone(
0458     FolderName = 'HLT/BPH/DiMu0_Lowmass_L1_tripleMu3/',
0459     tnp = False,
0460     enum = 6,
0461     muoSelection_ref = "pt>4 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0462     DMSelection_ref = "abs(Eta)<2.4",
0463     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu3_Trk_Tau3mu_NoL1Mass_v*"]),
0464     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_TripleMu_5SQ_3SQ_0OQ"]),
0465     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_LowMass_L1_TM530_v*"]),
0466     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_TripleMu_5SQ_3SQ_0OQ"]),
0467 )
0468 
0469 ###photon 
0470 Dimuon0_photon1 = hltBPHmonitoring.clone(
0471     FolderName = 'HLT/BPH/DiMu0_Lowmass_L1_photon1/',
0472     tnp = False,
0473     enum = 7,
0474     muoSelection_ref = "pt>10 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0475     DMSelection_ref = "M<30 && abs(Eta)<2.4",
0476     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu20_7_Mass0to30_Photon23_v*"]),
0477     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_EG12"]),
0478     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu20_7_Mass0to30_L1_DM4EG_v*"]),
0479     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_EG12"])
0480 )
0481 
0482 Dimuon0_photon2 = hltBPHmonitoring.clone(
0483     FolderName = 'HLT/BPH/DiMu0_Lowmass_L1_photon2/',
0484     tnp = False,
0485     enum = 7,
0486     muoSelection_ref = "pt>10 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0487     DMSelection_ref = "M<30 && abs(Eta)<2.4",
0488     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu20_7_Mass0to30_L1_DM4EG_v*"]),
0489     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_EG12"]),
0490     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu20_7_Mass0to30_L1_DM4_v*"]),
0491     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS"])
0492 )
0493 
0494 ###L3 TnP
0495 Dimuon0_L3TnP_Jpsi = hltBPHmonitoring.clone(
0496     FolderName = 'HLT/BPH/DiMu0_L1_L3TnP_Jpsi/',
0497     tnp = True,
0498     L3 = 1,
0499     enum = 1,
0500     ##Jpsi = 1,
0501     muoSelection_ref = "pt>7.5 &  abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0502     muoSelection = "pt>7.5 & abs(eta)<2.4 & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0503     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Mu7p5_L2Mu2_Jpsi_v*"]),
0504     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0_SQ"]),
0505     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Mu7p5_L2Mu2_Jpsi_v*"]),
0506     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0_SQ"])
0507 )
0508 
0509 Dimuon0_L3TnP_Upsilon = hltBPHmonitoring.clone(
0510     FolderName = 'HLT/BPH/DiMu0_L1_L3TnP_Upsilon/',
0511     tnp = True,
0512     L3 = 1,
0513     ##Upsilon = 1,
0514     enum = 1,
0515     muoSelection_ref = "pt>7.5 &  abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0516     muoSelection = "pt>7.5 & abs(eta)<2.4 & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0517     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Mu7p5_L2Mu2_Upsilon_v*"]),
0518     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0_SQ"]),
0519     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Mu7p5_L2Mu2_Upsilon_v*"]),
0520     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0_SQ"])
0521 )
0522 
0523 ###HLT OS 
0524 
0525 Dimuon0_HLT_OS = hltBPHmonitoring.clone(
0526     FolderName = 'HLT/BPH/DiMu0_Jpsi_L1_HLT_OS/',
0527     tnp = False,
0528     enum = 2,
0529     Jpsi = 1,
0530     muoSelection_ref = "abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0531     DMSelection_ref = "abs(Eta)<2.4",
0532     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Jpsi_NoVertexing_v*"]),
0533     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0_SQ_OS"]),
0534     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Jpsi_NoVertexing_NoOS_v*"]),
0535     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0_SQ"])
0536 )
0537 
0538 Dimuon0_HLT_OS1 = hltBPHmonitoring.clone(
0539     FolderName = 'HLT/BPH/DiMu0_Jpsi_L1_HLT_OS1/',
0540     tnp = False,
0541     enum = 2,
0542     Jpsi = 1,
0543     muoSelection_ref = "abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0544     DMSelection_ref = "abs(Eta)<2.4",
0545     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Jpsi_L1_NoOS_v*"]),
0546     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0_SQ"]),
0547     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Jpsi_NoVertexing_NoOS_v*"]),
0548     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu0_SQ"])
0549 )
0550 
0551 ###
0552 ###Loose vertex Jpsi
0553 Dimuon0_looseVtx_Jpsi = hltBPHmonitoring.clone(
0554     FolderName = 'HLT/BPH/DiMu0_L1_looseVtx_Jpsi/',
0555     tnp = False,
0556     enum = 8,
0557     Jpsi = 1,
0558     muoSelection_ref = "pt>5 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0559     DMSelection_ref = "abs(Eta)<1.5",
0560     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_dR_Max1p2 OR L1_DoubleMu0er1p5_SQ_OS_dR_Max1p4"]),
0561     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Jpsi_NoVertexing_v*"]),
0562     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_dR_Max1p2 OR L1_DoubleMu0er1p5_SQ_OS_dR_Max1p4"])
0563 )
0564 
0565 
0566 ####Loose vtx Upsilon
0567 Dimuon0_looseVtx_Upsilon = hltBPHmonitoring.clone(
0568     FolderName = 'HLT/BPH/DiMu0_L1_looseVtx_Upsilon/',
0569     tnp = False,
0570     enum = 8,
0571     Upsilon = 1,
0572     muoSelection_ref = "pt>5 && abs(eta)<2.0 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0573     DMSelection_ref = "abs(Eta)<2.0",
0574     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Upsilon_L1_4p5er2p0M_v*"]),
0575     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4p5er2p0_SQ_OS_Mass_7to18"]),
0576     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Upsilon_NoVertexing_v*"]),
0577     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4p5er2p0_SQ_OS_Mass_7to18"])
0578 )
0579 
0580 ###tight vtx
0581 Dimuon0_tightVtx_Jpsi = hltBPHmonitoring.clone(
0582     FolderName = 'HLT/BPH/DiMu0_L1_tightVtx_Jpsi/',
0583     tnp = False,
0584     Jpsi = 1,
0585     enum = 8,
0586     displaced = 1,
0587     muoSelection_ref = "pt>5 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0588     DMSelection_ref = "abs(Eta)<2.4",
0589     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu4_Jpsi_Displaced_v*"]),
0590     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_dR_Max1p2 OR L1_DoubleMu0er1p5_SQ_OS_dR_Max1p4"]),
0591     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu4_Jpsi_NoVertexing_v*"]),
0592     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_dR_Max1p2 OR L1_DoubleMu0er1p5_SQ_OS_dR_Max1p4"])
0593 )
0594 
0595 ###additional track
0596 
0597 Dimuon0_addTrack_Jpsi = hltBPHmonitoring.clone(
0598     FolderName = 'HLT/BPH/DiMu0_L1_addTrack_Jpsi/',
0599     tnp = False,
0600     enum = 9,
0601     muoSelection_ref = "pt>5 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0602     DMSelection_ref = "abs(Eta)<2.4",
0603     trOrMu = True,
0604     numGenericTriggerEventPSet = dict(hltPaths =["HLT_DoubleMu4_JpsiTrk_Displaced_v*"]),
0605     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_dR_Max1p2 OR L1_DoubleMu0er1p5_SQ_OS_dR_Max1p4"]),
0606     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu4_Jpsi_Displaced_v*"]),
0607     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_dR_Max1p2 OR L1_DoubleMu0er1p5_SQ_OS_dR_Max1p4"])
0608 )
0609 
0610 Dimuon0_addTrackTrack_Jpsi = hltBPHmonitoring.clone(
0611     FolderName = 'HLT/BPH/DiMu0_L1_addTrackTrack_Jpsi/',
0612     tnp = False,
0613     trOrMu = True,
0614     enum = 11,
0615     muoSelection_ref = "pt>5 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0616     DMSelection_ref = "abs(Eta)<2.4",
0617     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu4_JpsiTrkTrk_Displaced_v*"]),
0618     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_dR_Max1p2 OR L1_DoubleMu0er1p5_SQ_OS_dR_Max1p4"]),
0619     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu4_Jpsi_Displaced_v*"]),
0620     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_dR_Max1p2 OR L1_DoubleMu0er1p5_SQ_OS_dR_Max1p4"])
0621 )
0622 
0623 
0624 DM2_Jpsi_addTrackTrack_Phi = hltBPHmonitoring.clone(
0625     FolderName = 'HLT/BPH/DM2_Jpsi_addTrackTrack_Phi/',
0626     tnp = False,
0627     enum = 11,
0628     Jpsi = 1,
0629     #muoSelection = "pt>2 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0630     muoSelection_ref = "pt>2 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0631     minprob = 0.1,
0632     mincos = 0.,
0633     minDS = 0.,
0634     trOrMu = True,
0635     trSelection_ref = "pt>1",
0636     minmassTkTk = 0.920,
0637     maxmassTkTk = 1.120,
0638     minmassJpsiTk = 0.,
0639     maxmassJpsiTk = 99.,
0640     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu2_Jpsi_DoubleTrk1_Phi1p05_v*"]),
0641     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_dR_Max1p2 OR L1_DoubleMu0er1p5_SQ_OS_dR_Max1p4"]),
0642     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Dimuon0_Jpsi_NoVertexing_v*"]),
0643     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_DoubleMu4_SQ_OS_dR_Max1p2 OR L1_DoubleMu0er1p5_SQ_OS_dR_Max1p4"]),
0644     histoPSet = dict(ptBinning = [-0.5, 0, 0.5, 1, 1.5, 2, 4, 8, 10, 12, 14, 16, 18, 20],
0645                      phiPSet = dict(
0646                         nbins = 32,
0647                         xmin  = -3.2,
0648                         xmax  = 3.2)
0649     )  
0650 )
0651 
0652 
0653 DM2_Jpsi_addTkMuTkMu_Phi = DM2_Jpsi_addTrackTrack_Phi.clone(
0654     FolderName = 'HLT/BPH/DM2_Jpsi_addTkMuTkMu_Phi/',
0655     trSelection_ref = "",
0656     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DoubleMu2_Jpsi_DoubleTkMu0_Phi_v*"])
0657 )
0658 
0659 Dimuon0_addTrackMu_Onia = hltBPHmonitoring.clone(
0660     FolderName = 'HLT/BPH/DiMu0_L1_addTrackMu_Onia/',
0661     tnp = False,
0662     minmassJpsiTk = 3,
0663     maxmassJpsiTk = 3.2,
0664     enum = 10,
0665     muoSelection_ref = "pt>32 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0666     DMSelection_ref = "abs(Eta)<2.4",
0667     trOrMu = True,
0668     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Mu30_TkMu0_Onia_v*"]),
0669     #numGenericTriggerEventPSet = dict(l1Algorithms = ["L1_SingleMu22 OR L1_SingleMu25"]),
0670     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Mu27_v*"]),
0671     #denGenericTriggerEventPSet = dict(l1Algorithms = ["L1_SingleMu22 OR L1_SingleMu25"])
0672 )
0673 
0674 Dimuon0_addTrackMu_Phi1 = hltBPHmonitoring.clone(
0675     FolderName = 'HLT/BPH/DiMu0_L1_addTrackMu_Phi1/',
0676     tnp = False,
0677     minmassJpsiTk = 0.920,
0678     maxmassJpsiTk = 1.120,
0679     enum = 10,
0680     muoSelection_ref = "pt>26 && abs(eta)<2.4 &  isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 ",
0681     DMSelection_ref = "abs(Eta)<2.4",
0682     trOrMu = True,
0683     numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Mu25_TkMu0_Phi_v*"]),
0684     denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Mu20_v*"])
0685 )
0686 
0687 
0688 DimuonX_HLT_OS_Vtx = hltBPHmonitoring.clone(
0689     FolderName = 'HLT/BPH/DimuX_HLT_OS_Vtx/',
0690     tnp = False,
0691     enum = 2,
0692     Jpsi = 1,
0693     muoSelection_ref = 'abs(eta)<2.4 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0',
0694     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Dimuon0_Jpsi_L1_NoOS_v*']),
0695     #numGenericTriggerEventPSet = dict(l1Algorithms = ['L1_DoubleMu0_SQ']),
0696     denGenericTriggerEventPSet = dict(hltPaths = ['HLT_Dimuon0_Jpsi_NoVertexing_NoOS_v*']),
0697     #denGenericTriggerEventPSet = dict(l1Algorithms = ['L1_DoubleMu0_SQ'])
0698 )
0699 
0700 #hltBPHmonitoring.histoPSet.ptBinning = [-0.5, 0, 2, 4, 8, 10, 12, 14, 16, 18, 20, 22, 25, 30, 35, 40, 50, 70]
0701 #hltBPHmonitoring.histoPSet.dMuPtBinning = [-0.5, 0, 2, 4, 8, 10, 12, 14, 16, 18, 20, 22, 25, 30, 35, 40, 50, 70]
0702 
0703 ###
0704 
0705 bphHLTmonitoring = cms.Sequence(
0706     Dimuon25_Jpsi_tnp
0707     + Dimuon0_Jpsi_tnp
0708     + Dimuon0_Jpsi_tnp1
0709     + Dimuon0_Jpsi_tnp2
0710     + Dimuon0_Jpsi_OS
0711     + Dimuon0_er
0712     + Dimuon0_Upsilon_er
0713     + DMu4_3_Bs_dRcut
0714     + DMu4_3_Jpsi_dRcut
0715     + Dimuon14_Phi_dRcut
0716 #    + DMu4_LowMassNonResonantTrk_Displaced_dRcut
0717 #    + DMu4_JpsiTrk_Displaced_dRcut
0718 #    + DMu4_PsiPrimeTrk_Displaced_dRcut
0719     + Dimuon25_Jpsi_dRcut
0720     + Dimuon18_PsiPrime_dRcut
0721     + Dimuon25_Jpsi_dRcut_low
0722     + Dimuon18_PsiPrime_dRcut_low
0723 #    + DMu4_PsiPrimeTrk_Displaced_dRcut_low
0724 #    + DMu4_JpsiTrk_Displaced_dRcut_low
0725 #    + DMu4_LowMassNonResonantTrk_Displaced_dRcut_low
0726     + Dimuon20_masscut1
0727     + Dimuon12_masscut2
0728     + Trimuon2_masscut4
0729     + Trimuon2_masscut5
0730     + Trimuon2_masscut6
0731     + Dimuon0_tripleMu1
0732     + Dimuon0_tripleMu2
0733     + Dimuon0_tripleMu3
0734 #    + Dimuon0_photon1
0735 #    + Dimuon0_photon2
0736     + Dimuon0_L3TnP_Jpsi
0737     + Dimuon0_L3TnP_Upsilon
0738     + Dimuon0_HLT_OS
0739     + Dimuon0_HLT_OS1
0740     + Dimuon0_looseVtx_Jpsi
0741     + Dimuon0_looseVtx_Upsilon
0742     + Dimuon0_tightVtx_Jpsi
0743     + Dimuon0_addTrack_Jpsi
0744     + Dimuon0_addTrackTrack_Jpsi
0745     + DM2_Jpsi_addTrackTrack_Phi
0746     + DM2_Jpsi_addTkMuTkMu_Phi
0747     + Dimuon0_addTrackMu_Onia
0748     + Dimuon0_addTrackMu_Phi1
0749     #+ DimuonX_HLT_OS_Vtx
0750 )
0751 
0752 
0753 
0754 bphMonitorHLT = cms.Sequence(
0755     bphHLTmonitoring * 
0756     tau3MuMonitorHLT    
0757 )
0758 
0759 bphHLTDQMSourceExtra = cms.Sequence(
0760 )
0761