diff --git a/HLTriggerOffline/HeavyFlavor/python/heavyFlavorValidationHarvesting_cfi.py b/HLTriggerOffline/HeavyFlavor/python/heavyFlavorValidationHarvesting_cfi.py index dbfdbe6280c94..37c55f7c375af 100644 --- a/HLTriggerOffline/HeavyFlavor/python/heavyFlavorValidationHarvesting_cfi.py +++ b/HLTriggerOffline/HeavyFlavor/python/heavyFlavorValidationHarvesting_cfi.py @@ -5,122 +5,30 @@ MyDQMrootFolder = cms.untracked.string('HLT/BPH/HLT/HLT_Mu5'), Efficiencies = cms.untracked.VPSet( cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("globMuon_genEtaPt","genMuon_genEtaPt","effGlobGen_genEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt1Muon_recoEtaPt","globMuon_recoEtaPt","effFilt1Glob_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt2Muon_recoEtaPt","globMuon_recoEtaPt","effFilt2Glob_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt3Muon_recoEtaPt","globMuon_recoEtaPt","effFilt3Glob_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt4Muon_recoEtaPt","globMuon_recoEtaPt","effFilt4Glob_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt5Muon_recoEtaPt","globMuon_recoEtaPt","effFilt5Glob_recoEtaPt") ), cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("pathMuon_recoEtaPt","globMuon_recoEtaPt","effPathGlob_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt2Muon_recoEtaPt","filt1Muon_recoEtaPt","effFilt2Filt1_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt3Muon_recoEtaPt","filt2Muon_recoEtaPt","effFilt3Filt2_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt4Muon_recoEtaPt","filt3Muon_recoEtaPt","effFilt4Filt3_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt5Muon_recoEtaPt","filt4Muon_recoEtaPt","effFilt5Filt4_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt3Muon_recoEtaPt","filt1Muon_recoEtaPt","effFilt3Filt1_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt4Muon_recoEtaPt","filt1Muon_recoEtaPt","effFilt4Filt1_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt5Muon_recoEtaPt","filt1Muon_recoEtaPt","effFilt5Filt1_recoEtaPt") ), cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("globMuon_genEtaPhi","genMuon_genEtaPhi","effGlobGen_genEtaPhi") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt1Muon_recoEtaPhi","globMuon_recoEtaPhi","effFilt1Glob_recoEtaPhi") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt2Muon_recoEtaPhi","globMuon_recoEtaPhi","effFilt2Glob_recoEtaPhi") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt3Muon_recoEtaPhi","globMuon_recoEtaPhi","effFilt3Glob_recoEtaPhi") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt4Muon_recoEtaPhi","globMuon_recoEtaPhi","effFilt4Glob_recoEtaPhi") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt5Muon_recoEtaPhi","globMuon_recoEtaPhi","effFilt5Glob_recoEtaPhi") ), cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("pathMuon_recoEtaPhi","globMuon_recoEtaPhi","effPathGlob_recoEtaPhi") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt2Muon_recoEtaPhi","filt1Muon_recoEtaPhi","effFilt2Filt1_recoEtaPhi") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt3Muon_recoEtaPhi","filt2Muon_recoEtaPhi","effFilt3Filt2_recoEtaPhi") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt4Muon_recoEtaPhi","filt3Muon_recoEtaPhi","effFilt4Filt3_recoEtaPhi") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt5Muon_recoEtaPhi","filt4Muon_recoEtaPhi","effFilt5Filt4_recoEtaPhi") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt3Muon_recoEtaPhi","filt1Muon_recoEtaPhi","effFilt3Filt1_recoEtaPhi") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt4Muon_recoEtaPhi","filt1Muon_recoEtaPhi","effFilt4Filt1_recoEtaPhi") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt5Muon_recoEtaPhi","filt1Muon_recoEtaPhi","effFilt5Filt1_recoEtaPhi") ), ################# DOUBLE ETA PT ###################### cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("globDimuon_genEtaPt","genDimuon_genEtaPt","effGlobDigenAND_genEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt1Dimuon_recoEtaPt","globDimuon_recoEtaPt","effFilt1DiglobOR_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt2Dimuon_recoEtaPt","globDimuon_recoEtaPt","effFilt2DiglobOR_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt3Dimuon_recoEtaPt","globDimuon_recoEtaPt","effFilt3DiglobOR_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt4Dimuon_recoEtaPt","globDimuon_recoEtaPt","effFilt4DiglobOR_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt5Dimuon_recoEtaPt","globDimuon_recoEtaPt","effFilt5DiglobOR_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("pathDimuon_recoEtaPt","globDimuon_recoEtaPt","effPathDiglobOR_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt1Dimuon_recoEtaPt","globDimuon_recoEtaPt","effFilt1DiglobAND_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt2Dimuon_recoEtaPt","globDimuon_recoEtaPt","effFilt2DiglobAND_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt3Dimuon_recoEtaPt","globDimuon_recoEtaPt","effFilt3DiglobAND_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt4Dimuon_recoEtaPt","globDimuon_recoEtaPt","effFilt4DiglobAND_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt5Dimuon_recoEtaPt","globDimuon_recoEtaPt","effFilt5DiglobAND_recoEtaPt") ), + cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("pathDimuon_recoEtaPt","globDimuon_recoEtaPt","effPathDiglobOR_recoEtaPt") ), cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diPathDimuon_recoEtaPt","globDimuon_recoEtaPt","effPathDiglobAND_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt2Dimuon_recoEtaPt","diFilt1Dimuon_recoEtaPt","effFilt2Difilt1AND_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt3Dimuon_recoEtaPt","diFilt2Dimuon_recoEtaPt","effFilt3Difilt2AND_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt4Dimuon_recoEtaPt","diFilt3Dimuon_recoEtaPt","effFilt4Difilt3AND_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt5Dimuon_recoEtaPt","diFilt4Dimuon_recoEtaPt","effFilt5Difilt4AND_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt3Dimuon_recoEtaPt","diFilt1Dimuon_recoEtaPt","effFilt3Difilt1AND_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt4Dimuon_recoEtaPt","diFilt1Dimuon_recoEtaPt","effFilt4Difilt1AND_recoEtaPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt5Dimuon_recoEtaPt","diFilt1Dimuon_recoEtaPt","effFilt5Difilt1AND_recoEtaPt") ), ################# DOUBLE RAPIDITY PT ###################### -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("globDimuon_genRapPt","genDimuon_genRapPt","effGlobDigenAND_genRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt1Dimuon_recoRapPt","globDimuon_recoRapPt","effFilt1DiglobOR_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt2Dimuon_recoRapPt","globDimuon_recoRapPt","effFilt2DiglobOR_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt3Dimuon_recoRapPt","globDimuon_recoRapPt","effFilt3DiglobOR_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt4Dimuon_recoRapPt","globDimuon_recoRapPt","effFilt4DiglobOR_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt5Dimuon_recoRapPt","globDimuon_recoRapPt","effFilt5DiglobOR_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("pathDimuon_recoRapPt","globDimuon_recoRapPt","effPathDiglobOR_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt1Dimuon_recoRapPt","globDimuon_recoRapPt","effFilt1DiglobAND_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt2Dimuon_recoRapPt","globDimuon_recoRapPt","effFilt2DiglobAND_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt3Dimuon_recoRapPt","globDimuon_recoRapPt","effFilt3DiglobAND_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt4Dimuon_recoRapPt","globDimuon_recoRapPt","effFilt4DiglobAND_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt5Dimuon_recoRapPt","globDimuon_recoRapPt","effFilt5DiglobAND_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diPathDimuon_recoRapPt","globDimuon_recoRapPt","effPathDiglobAND_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt2Dimuon_recoRapPt","diFilt1Dimuon_recoRapPt","effFilt2Difilt1AND_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt3Dimuon_recoRapPt","diFilt2Dimuon_recoRapPt","effFilt3Difilt2AND_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt4Dimuon_recoRapPt","diFilt3Dimuon_recoRapPt","effFilt4Difilt3AND_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt5Dimuon_recoRapPt","diFilt4Dimuon_recoRapPt","effFilt5Difilt4AND_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt3Dimuon_recoRapPt","diFilt1Dimuon_recoRapPt","effFilt3Difilt1AND_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt4Dimuon_recoRapPt","diFilt1Dimuon_recoRapPt","effFilt4Difilt1AND_recoRapPt") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt5Dimuon_recoRapPt","diFilt1Dimuon_recoRapPt","effFilt5Difilt1AND_recoRapPt") ), + cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("globDimuon_genRapPt","genDimuon_genRapPt","effGlobDigenAND_genRapPt") ), + cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("pathDimuon_recoRapPt","globDimuon_recoRapPt","effPathDiglobOR_recoRapPt") ), + cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diPathDimuon_recoRapPt","globDimuon_recoRapPt","effPathDiglobAND_recoRapPt") ), - ################# DOUBLE PT DR ###################### -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("globDimuon_genPtDR","genDimuon_genPtDR","effGlobDigenAND_genPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt1Dimuon_recoPtDR","globDimuon_recoPtDR","effFilt1DiglobOR_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt2Dimuon_recoPtDR","globDimuon_recoPtDR","effFilt2DiglobOR_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt3Dimuon_recoPtDR","globDimuon_recoPtDR","effFilt3DiglobOR_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt4Dimuon_recoPtDR","globDimuon_recoPtDR","effFilt4DiglobOR_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt5Dimuon_recoPtDR","globDimuon_recoPtDR","effFilt5DiglobOR_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("pathDimuon_recoPtDR","globDimuon_recoPtDR","effPathDiglobOR_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt1Dimuon_recoPtDR","globDimuon_recoPtDR","effFilt1DiglobAND_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt2Dimuon_recoPtDR","globDimuon_recoPtDR","effFilt2DiglobAND_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt3Dimuon_recoPtDR","globDimuon_recoPtDR","effFilt3DiglobAND_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt4Dimuon_recoPtDR","globDimuon_recoPtDR","effFilt4DiglobAND_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt5Dimuon_recoPtDR","globDimuon_recoPtDR","effFilt5DiglobAND_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diPathDimuon_recoPtDR","globDimuon_recoPtDR","effPathDiglobAND_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt2Dimuon_recoPtDR","diFilt1Dimuon_recoPtDR","effFilt2Difilt1AND_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt3Dimuon_recoPtDR","diFilt2Dimuon_recoPtDR","effFilt3Difilt2AND_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt4Dimuon_recoPtDR","diFilt3Dimuon_recoPtDR","effFilt4Difilt3AND_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt5Dimuon_recoPtDR","diFilt4Dimuon_recoPtDR","effFilt5Difilt4AND_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt3Dimuon_recoPtDR","diFilt1Dimuon_recoPtDR","effFilt3Difilt1AND_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt4Dimuon_recoPtDR","diFilt1Dimuon_recoPtDR","effFilt4Difilt1AND_recoPtDR") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt5Dimuon_recoPtDR","diFilt1Dimuon_recoPtDR","effFilt5Difilt1AND_recoPtDR") ), +################# DOUBLE PT DR ###################### + cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("globDimuon_genPtDR","genDimuon_genPtDR","effGlobDigenAND_genPtDR") ), + cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("pathDimuon_recoPtDR","globDimuon_recoPtDR","effPathDiglobOR_recoPtDR") ), + cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diPathDimuon_recoPtDR","globDimuon_recoPtDR","effPathDiglobAND_recoPtDR") ), - ################# DOUBLE ETA PT ###################### -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("globDimuon_genPtDRpos","genDimuon_genPtDRpos","effGlobDigenAND_genPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt1Dimuon_recoPtDRpos","globDimuon_recoPtDRpos","effFilt1DiglobOR_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt2Dimuon_recoPtDRpos","globDimuon_recoPtDRpos","effFilt2DiglobOR_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt3Dimuon_recoPtDRpos","globDimuon_recoPtDRpos","effFilt3DiglobOR_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt4Dimuon_recoPtDRpos","globDimuon_recoPtDRpos","effFilt4DiglobOR_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("filt5Dimuon_recoPtDRpos","globDimuon_recoPtDRpos","effFilt5DiglobOR_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("pathDimuon_recoPtDRpos","globDimuon_recoPtDRpos","effPathDiglobOR_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt1Dimuon_recoPtDRpos","globDimuon_recoPtDRpos","effFilt1DiglobAND_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt2Dimuon_recoPtDRpos","globDimuon_recoPtDRpos","effFilt2DiglobAND_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt3Dimuon_recoPtDRpos","globDimuon_recoPtDRpos","effFilt3DiglobAND_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt4Dimuon_recoPtDRpos","globDimuon_recoPtDRpos","effFilt4DiglobAND_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt5Dimuon_recoPtDRpos","globDimuon_recoPtDRpos","effFilt5DiglobAND_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diPathDimuon_recoPtDRpos","globDimuon_recoPtDRpos","effPathDiglobAND_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt2Dimuon_recoPtDRpos","diFilt1Dimuon_recoPtDRpos","effFilt2Difilt1AND_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt3Dimuon_recoPtDRpos","diFilt2Dimuon_recoPtDRpos","effFilt3Difilt2AND_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt4Dimuon_recoPtDRpos","diFilt3Dimuon_recoPtDRpos","effFilt4Difilt3AND_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt5Dimuon_recoPtDRpos","diFilt4Dimuon_recoPtDRpos","effFilt5Difilt4AND_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt3Dimuon_recoPtDRpos","diFilt1Dimuon_recoPtDRpos","effFilt3Difilt1AND_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt4Dimuon_recoPtDRpos","diFilt1Dimuon_recoPtDRpos","effFilt4Difilt1AND_recoPtDRpos") ), -# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diFilt5Dimuon_recoPtDRpos","diFilt1Dimuon_recoPtDRpos","effFilt5Difilt1AND_recoPtDRpos") ), +################# DOUBLE ETA PT ###################### +# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("globDimuon_genPtDRpos","genDimuon_genPtDRpos","effGlobDigenAND_genPtDRpos") ), +# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("pathDimuon_recoPtDRpos","globDimuon_recoPtDRpos","effPathDiglobOR_recoPtDRpos") ), +# cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("diPathDimuon_recoPtDRpos","globDimuon_recoPtDRpos","effPathDiglobAND_recoPtDRpos") ), cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("resultDimuon_recoEtaPt","globDimuon_recoEtaPt","effResultDiglob_recoEtaPt") ), cms.untracked.PSet( NumDenEffMEnames = cms.untracked.vstring("resultDimuon_recoRapPt","globDimuon_recoRapPt","effResultDiglob_recoRapPt") ) diff --git a/HLTriggerOffline/HeavyFlavor/src/HeavyFlavorValidation.cc b/HLTriggerOffline/HeavyFlavor/src/HeavyFlavorValidation.cc index 626a14de2b858..1a4a1d89b18e5 100644 --- a/HLTriggerOffline/HeavyFlavor/src/HeavyFlavorValidation.cc +++ b/HLTriggerOffline/HeavyFlavor/src/HeavyFlavorValidation.cc @@ -224,97 +224,31 @@ void HeavyFlavorValidation::bookHistograms(DQMStore::IBooker &ibooker, myBook2D(ibooker, "genMuon_genEtaPt", muonEtaBins, "#mu eta", muonPtBins, " #mu pT (GeV)"); myBook2D(ibooker, "globMuon_genEtaPt", muonEtaBins, "#mu eta", muonPtBins, " #mu pT (GeV)"); myBook2D(ibooker, "globMuon_recoEtaPt", muonEtaBins, "#mu eta", muonPtBins, " #mu pT (GeV)"); - /* - for (size_t i = 0; i < filterNamesLevels.size(); i++) { - myBook2D(ibooker, - TString::Format("filt%dMuon_recoEtaPt", int(i + 1)), - muonEtaBins, - "#mu eta", - muonPtBins, - " #mu pT (GeV)", - filterNamesLevels[i].first); - } - */ myBook2D(ibooker, "pathMuon_recoEtaPt", muonEtaBins, "#mu eta", muonPtBins, " #mu pT (GeV)", triggerPathName); myBook2D(ibooker, "resultMuon_recoEtaPt", muonEtaBins, "#mu eta", muonPtBins, " #mu pT (GeV)"); // Eta Pt Single Resolution myBookProfile2D(ibooker, "resGlobGen_genEtaPt", muonEtaBins, "#mu eta", muonPtBins, " #mu pT (GeV)"); - /* - for (size_t i = 0; i < filterNamesLevels.size(); i++) { - myBookProfile2D(ibooker, - TString::Format("resFilt%dGlob_recoEtaPt", int(i + 1)), - muonEtaBins, - "#mu eta", - muonPtBins, - " #mu pT (GeV)", - filterNamesLevels[i].first); - } - */ myBookProfile2D( ibooker, "resPathGlob_recoEtaPt", muonEtaBins, "#mu eta", muonPtBins, " #mu pT (GeV)", triggerPathName); // Eta Pt Double myBook2D(ibooker, "genDimuon_genEtaPt", dimuonEtaBins, "#mu#mu eta", dimuonPtBins, " #mu#mu pT (GeV)"); myBook2D(ibooker, "globDimuon_genEtaPt", dimuonEtaBins, "#mu#mu eta", dimuonPtBins, " #mu#mu pT (GeV)"); myBook2D(ibooker, "globDimuon_recoEtaPt", dimuonEtaBins, "#mu#mu eta", dimuonPtBins, " #mu#mu pT (GeV)"); - /* - for (size_t i = 0; i < filterNamesLevels.size(); i++) { - myBook2D(ibooker, - TString::Format("filt%dDimuon_recoEtaPt", int(i + 1)), - dimuonEtaBins, - "#mu#mu eta", - dimuonPtBins, - " #mu#mu pT (GeV)", - filterNamesLevels[i].first); - } - */ myBook2D( ibooker, "pathDimuon_recoEtaPt", dimuonEtaBins, "#mu#mu eta", dimuonPtBins, " #mu#mu pT (GeV)", triggerPathName); myBook2D(ibooker, "resultDimuon_recoEtaPt", dimuonEtaBins, "#mu#mu eta", dimuonPtBins, " #mu#mu pT (GeV)"); - /* - for (size_t i = 0; i < filterNamesLevels.size(); i++) { - myBook2D(ibooker, - TString::Format("diFilt%dDimuon_recoEtaPt", int(i + 1)), - dimuonEtaBins, - "#mu#mu eta", - dimuonPtBins, - " #mu#mu pT (GeV)", - filterNamesLevels[i].first); - } - */ myBook2D( ibooker, "diPathDimuon_recoEtaPt", dimuonEtaBins, "#mu#mu eta", dimuonPtBins, " #mu#mu pT (GeV)", triggerPathName); // Eta Phi Single myBook2D(ibooker, "genMuon_genEtaPhi", muonEtaBins, "#mu eta", muonPhiBins, "#mu phi"); myBook2D(ibooker, "globMuon_genEtaPhi", muonEtaBins, "#mu eta", muonPhiBins, "#mu phi"); myBook2D(ibooker, "globMuon_recoEtaPhi", muonEtaBins, "#mu eta", muonPhiBins, "#mu phi"); - /* - for (size_t i = 0; i < filterNamesLevels.size(); i++) { - myBook2D(ibooker, - TString::Format("filt%dMuon_recoEtaPhi", int(i + 1)), - muonEtaBins, - "#mu eta", - muonPhiBins, - "#mu phi", - filterNamesLevels[i].first); - } - */ myBook2D(ibooker, "pathMuon_recoEtaPhi", muonEtaBins, "#mu eta", muonPhiBins, "#mu phi", triggerPathName); myBook2D(ibooker, "resultMuon_recoEtaPhi", muonEtaBins, "#mu eta", muonPhiBins, "#mu phi"); // Rap Pt Double myBook2D(ibooker, "genDimuon_genRapPt", dimuonEtaBins, "#mu#mu rapidity", dimuonPtBins, " #mu#mu pT (GeV)"); myBook2D(ibooker, "globDimuon_genRapPt", dimuonEtaBins, "#mu#mu rapidity", dimuonPtBins, " #mu#mu pT (GeV)"); myBook2D(ibooker, "globDimuon_recoRapPt", dimuonEtaBins, "#mu#mu rapidity", dimuonPtBins, " #mu#mu pT (GeV)"); - /* - for (size_t i = 0; i < filterNamesLevels.size(); i++) { - myBook2D(ibooker, - TString::Format("filt%dDimuon_recoRapPt", int(i + 1)), - dimuonEtaBins, - "#mu#mu rapidity", - dimuonPtBins, - " #mu#mu pT (GeV)", - filterNamesLevels[i].first); - } - */ myBook2D(ibooker, "pathDimuon_recoRapPt", dimuonEtaBins, @@ -323,17 +257,6 @@ void HeavyFlavorValidation::bookHistograms(DQMStore::IBooker &ibooker, " #mu#mu pT (GeV)", triggerPathName); myBook2D(ibooker, "resultDimuon_recoRapPt", dimuonEtaBins, "#mu#mu rapidity", dimuonPtBins, " #mu#mu pT (GeV)"); - /* - for (size_t i = 0; i < filterNamesLevels.size(); i++) { - myBook2D(ibooker, - TString::Format("diFilt%dDimuon_recoRapPt", int(i + 1)), - dimuonEtaBins, - "#mu#mu rapidity", - dimuonPtBins, - " #mu#mu pT (GeV)", - filterNamesLevels[i].first); - } - */ myBook2D(ibooker, "diPathDimuon_recoRapPt", dimuonEtaBins, @@ -345,17 +268,6 @@ void HeavyFlavorValidation::bookHistograms(DQMStore::IBooker &ibooker, myBook2D(ibooker, "genDimuon_genPtDR", dimuonPtBins, " #mu#mu pT (GeV)", dimuonDRBins, "#mu#mu #Delta R at IP"); myBook2D(ibooker, "globDimuon_genPtDR", dimuonPtBins, " #mu#mu pT (GeV)", dimuonDRBins, "#mu#mu #Delta R at IP"); myBook2D(ibooker, "globDimuon_recoPtDR", dimuonPtBins, " #mu#mu pT (GeV)", dimuonDRBins, "#mu#mu #Delta R at IP"); - /* - for (size_t i = 0; i < filterNamesLevels.size(); i++) { - myBook2D(ibooker, - TString::Format("filt%dDimuon_recoPtDR", int(i + 1)), - dimuonPtBins, - " #mu#mu pT (GeV)", - dimuonDRBins, - "#mu#mu #Delta R at IP", - filterNamesLevels[i].first); - } - */ myBook2D(ibooker, "pathDimuon_recoPtDR", dimuonPtBins, @@ -363,17 +275,6 @@ void HeavyFlavorValidation::bookHistograms(DQMStore::IBooker &ibooker, dimuonDRBins, "#mu#mu #Delta R at IP", triggerPathName); - /* - for (size_t i = 0; i < filterNamesLevels.size(); i++) { - myBook2D(ibooker, - TString::Format("diFilt%dDimuon_recoPtDR", int(i + 1)), - dimuonPtBins, - " #mu#mu pT (GeV)", - dimuonDRBins, - "#mu#mu #Delta R at IP", - filterNamesLevels[i].first); - } - */ myBook2D(ibooker, "diPathDimuon_recoPtDR", dimuonPtBins, @@ -384,17 +285,6 @@ void HeavyFlavorValidation::bookHistograms(DQMStore::IBooker &ibooker, myBook2D(ibooker, "resultDimuon_recoPtDR", dimuonPtBins, " #mu#mu pT (GeV)", dimuonDRBins, "#mu#mu #Delta R at IP"); // Pt DRpos Double myBook2D(ibooker, "globDimuon_recoPtDRpos", dimuonPtBins, " #mu#mu pT (GeV)", dimuonDRBins, "#mu#mu #Delta R in MS"); - /* - for (size_t i = 0; i < filterNamesLevels.size(); i++) { - myBook2D(ibooker, - TString::Format("filt%dDimuon_recoPtDRpos", int(i + 1)), - dimuonPtBins, - " #mu#mu pT (GeV)", - dimuonDRBins, - "#mu#mu #Delta R in MS", - filterNamesLevels[i].first); - } - */ myBook2D(ibooker, "pathDimuon_recoPtDRpos", dimuonPtBins, @@ -402,17 +292,6 @@ void HeavyFlavorValidation::bookHistograms(DQMStore::IBooker &ibooker, dimuonDRBins, "#mu#mu #Delta R in MS", triggerPathName); - /* - for (size_t i = 0; i < filterNamesLevels.size(); i++) { - myBook2D(ibooker, - TString::Format("diFilt%dDimuon_recoPtDRpos", int(i + 1)), - dimuonPtBins, - " #mu#mu pT (GeV)", - dimuonDRBins, - "#mu#mu #Delta R in MS", - filterNamesLevels[i].first); - } - */ myBook2D(ibooker, "diPathDimuon_recoPtDRpos", dimuonPtBins, @@ -425,17 +304,6 @@ void HeavyFlavorValidation::bookHistograms(DQMStore::IBooker &ibooker, // Matching myBook2D(ibooker, "globGen_deltaEtaDeltaPhi", deltaEtaBins, "#Delta eta", deltaPhiBins, "#Delta phi"); - /* - for (size_t i = 0; i < filterNamesLevels.size(); i++) { - myBook2D(ibooker, - TString::Format("filt%dGlob_deltaEtaDeltaPhi", int(i + 1)), - deltaEtaBins, - "#Delta eta", - deltaPhiBins, - "#Delta phi", - filterNamesLevels[i].first); - } - */ myBook2D( ibooker, "pathGlob_deltaEtaDeltaPhi", deltaEtaBins, "#Delta eta", deltaPhiBins, "#Delta phi", triggerPathName); // Size of containers @@ -445,12 +313,6 @@ void HeavyFlavorValidation::bookHistograms(DQMStore::IBooker &ibooker, sizeBins.push_back(10); myBook1D(ibooker, "genMuon_size", sizeBins, "container size"); myBook1D(ibooker, "globMuon_size", sizeBins, "container size"); - /* - for (size_t i = 0; i < filterNamesLevels.size(); i++) { - myBook1D( - ibooker, TString::Format("filt%dMuon_size", int(i + 1)), sizeBins, "container size", filterNamesLevels[i].first); - } - */ myBook1D(ibooker, "pathMuon_size", sizeBins, "container size", triggerPathName); } @@ -595,30 +457,6 @@ void HeavyFlavorValidation::analyze(const Event &iEvent, const EventSetup &iSetu vector glob_gen(genMuons.size(), -1); match(ME["globGen_deltaEtaDeltaPhi"], genMuons, globMuons, genGlobDeltaRMatchingCut, glob_gen); vector > filt_glob; - /* - for (size_t i = 0; i < filterNamesLevels.size(); i++) { - filt_glob.push_back(vector(globMuons.size(), -1)); - if (filterNamesLevels[i].second == 1) { - match(ME[TString::Format("filt%dGlob_deltaEtaDeltaPhi", int(i + 1))], - globMuons_position, - muonsAtFilter[i], - globL1DeltaRMatchingCut, - filt_glob[i]); - } else if (filterNamesLevels[i].second == 2) { - match(ME[TString::Format("filt%dGlob_deltaEtaDeltaPhi", int(i + 1))], - globMuons_position, - muonPositionsAtFilter[i], - globL2DeltaRMatchingCut, - filt_glob[i]); - } else if (filterNamesLevels[i].second > 2) { - match(ME[TString::Format("filt%dGlob_deltaEtaDeltaPhi", int(i + 1))], - globMuons, - muonsAtFilter[i], - globL3DeltaRMatchingCut, - filt_glob[i]); - } - } - */ vector path_glob(globMuons.size(), -1); if ((filterNamesLevels.end() - 1)->second == 1) { match(ME["pathGlob_deltaEtaDeltaPhi"], globMuons_position, pathMuons, globL1DeltaRMatchingCut, path_glob); @@ -640,23 +478,6 @@ void HeavyFlavorValidation::analyze(const Event &iEvent, const EventSetup &iSetu ME["globMuon_genEtaPhi"]->Fill(genMuons[i].eta(), genMuons[i].phi()); ME["globMuon_recoEtaPt"]->Fill(globMuons[glob_gen[i]].eta(), globMuons[glob_gen[i]].pt()); ME["globMuon_recoEtaPhi"]->Fill(globMuons[glob_gen[i]].eta(), globMuons[glob_gen[i]].phi()); - /* - for (size_t f = 0; f < filterNamesLevels.size(); f++) { - if (filt_glob[f][glob_gen[i]] != -1) { - ME[TString::Format("resFilt%dGlob_recoEtaPt", int(f + 1))]->Fill( - globMuons[glob_gen[i]].eta(), - globMuons[glob_gen[i]].pt(), - (muonsAtFilter[f][filt_glob[f][glob_gen[i]]].pt() - globMuons[glob_gen[i]].pt()) / - globMuons[glob_gen[i]].pt()); - ME[TString::Format("filt%dMuon_recoEtaPt", int(f + 1))]->Fill(globMuons[glob_gen[i]].eta(), - globMuons[glob_gen[i]].pt()); - ME[TString::Format("filt%dMuon_recoEtaPhi", int(f + 1))]->Fill(globMuons[glob_gen[i]].eta(), - globMuons[glob_gen[i]].phi()); - } else { - break; - } - } - */ if (path_glob[glob_gen[i]] != -1) { ME["resPathGlob_recoEtaPt"]->Fill( globMuons[glob_gen[i]].eta(), @@ -714,37 +535,6 @@ void HeavyFlavorValidation::analyze(const Event &iEvent, const EventSetup &iSetu ME["globDimuon_recoPtDR"]->Fill(globDimuonPt, globDimuonDR); if (highPt) ME["globDimuon_recoPtDRpos"]->Fill(globDimuonPt, globDimuonDRpos); - //two filter objects - /* - for (size_t f = 0; f < filterNamesLevels.size(); f++) { - if (filt_glob[f][glob_gen[0]] != -1 && filt_glob[f][glob_gen[secondMuon]] != -1) { - ME[TString::Format("diFilt%dDimuon_recoEtaPt", int(f + 1))]->Fill(globDimuonEta, globDimuonPt); - ME[TString::Format("diFilt%dDimuon_recoRapPt", int(f + 1))]->Fill(globDimuonRap, globDimuonPt); - if (highPt) - ME[TString::Format("diFilt%dDimuon_recoPtDR", int(f + 1))]->Fill(globDimuonPt, globDimuonDR); - if (highPt) - ME[TString::Format("diFilt%dDimuon_recoPtDRpos", int(f + 1))]->Fill(globDimuonPt, globDimuonDRpos); - } else { - break; - } - } - */ - //one filter object - /* - for (size_t f = 0; f < filterNamesLevels.size(); f++) { - if (filt_glob[f][glob_gen[0]] != -1 || filt_glob[f][glob_gen[secondMuon]] != -1) { - ME[TString::Format("filt%dDimuon_recoEtaPt", int(f + 1))]->Fill(globDimuonEta, globDimuonPt); - ME[TString::Format("filt%dDimuon_recoRapPt", int(f + 1))]->Fill(globDimuonRap, globDimuonPt); - if (highPt) - ME[TString::Format("filt%dDimuon_recoPtDR", int(f + 1))]->Fill(globDimuonPt, globDimuonDR); - if (highPt) - ME[TString::Format("filt%dDimuon_recoPtDRpos", int(f + 1))]->Fill(globDimuonPt, globDimuonDRpos); - } else { - break; - } - } - */ - //two path objects if (path_glob[glob_gen[0]] != -1 && path_glob[glob_gen[secondMuon]] != -1) { ME["diPathDimuon_recoEtaPt"]->Fill(globDimuonEta, globDimuonPt); ME["diPathDimuon_recoRapPt"]->Fill(globDimuonRap, globDimuonPt);