From 06ae2ad26818c9ae4a82669e02ad9ba557d70f1d Mon Sep 17 00:00:00 2001 From: Jordan Martins <36475694+jordan-martins@users.noreply.github.com> Date: Sat, 9 Dec 2023 13:32:09 -0300 Subject: [PATCH 1/9] Create PDWG_EGMJME_SD_cff.py. --- .../Skimming/python/PDWG_EGMJME_SD_cff.py. | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Configuration/Skimming/python/PDWG_EGMJME_SD_cff.py. diff --git a/Configuration/Skimming/python/PDWG_EGMJME_SD_cff.py. b/Configuration/Skimming/python/PDWG_EGMJME_SD_cff.py. new file mode 100644 index 0000000000000..f5ba40f62961c --- /dev/null +++ b/Configuration/Skimming/python/PDWG_EGMJME_SD_cff.py. @@ -0,0 +1,17 @@ +import FWCore.ParameterSet.Config as cms + +#Trigger bit requirement +import HLTrigger.HLTfilters.hltHighLevel_cfi as hlt +EGMJME = hlt.hltHighLevel.clone() +EGMJME.TriggerResultsTag = cms.InputTag( "TriggerResults", "", "HLT" ) +EGMJME.HLTPaths = cms.vstring( + 'HLT_Photon110EB_TightID_TightIso*', + 'HLT_Photon30EB_TightID_TightIso*', + 'HLT_Photon90_R9Id90_HE10_IsoM*', + 'HLT_Photon75_R9Id90_HE10_IsoM*', + 'HLT_Photon50_R9Id90_HE10_IsoM*', + 'HLT_Photon200*') +EGMJME.andOr = cms.bool( True ) +# we want to intentionally throw and exception +# in case it does not match one of the HLT Paths +EGMJME.throw = cms.bool( True ) From 4614fc88d9562345e762303dd2d8af4113b707c0 Mon Sep 17 00:00:00 2001 From: Jordan Martins <36475694+jordan-martins@users.noreply.github.com> Date: Sat, 9 Dec 2023 13:36:07 -0300 Subject: [PATCH 2/9] Update Skims_PDWG_cff.py --- .../Skimming/python/Skims_PDWG_cff.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Configuration/Skimming/python/Skims_PDWG_cff.py b/Configuration/Skimming/python/Skims_PDWG_cff.py index 6ee1bfb312f9d..4c6e9780d6a8f 100644 --- a/Configuration/Skimming/python/Skims_PDWG_cff.py +++ b/Configuration/Skimming/python/Skims_PDWG_cff.py @@ -396,6 +396,28 @@ dataTier = cms.untracked.string('RAW') # for the moment, it could be DIGI in the future ) +from Configuration.Skimming.PDWG_EGMJME_SD_cff import * +EGMJMEPath = cms.Path(EGMJME) +SKIMStreamEGMJME = cms.FilteredStream( + responsible = 'PDWG', + name = 'EGMJME', + paths = (EGMJMEPath), + content = skimRawContent.outputCommands, + selectEvents = cms.untracked.PSet(), + dataTier = cms.untracked.string('RAW-RECO') + ) + +from Configuration.Skimming.PDWG_MUOJME_SD_cff import * +MUOJMEPath = cms.Path(MUOJME) +SKIMStreamMUOJME = cms.FilteredStream( + responsible = 'PDWG', + name = 'MUOJME', + paths = (MUOJMEPath), + content = skimRawContent.outputCommands, + selectEvents = cms.untracked.PSet(), + dataTier = cms.untracked.string('RAW-RECO') + ) + #################### From cfd7de219ca8d7a9706c430c74e0c8ab9fee5aaa Mon Sep 17 00:00:00 2001 From: Jordan Martins <36475694+jordan-martins@users.noreply.github.com> Date: Sat, 9 Dec 2023 13:43:33 -0300 Subject: [PATCH 3/9] Create PDWG_MUOJME_SD_cff.py --- Configuration/Skimming/python/PDWG_MUOJME_SD_cff.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Configuration/Skimming/python/PDWG_MUOJME_SD_cff.py diff --git a/Configuration/Skimming/python/PDWG_MUOJME_SD_cff.py b/Configuration/Skimming/python/PDWG_MUOJME_SD_cff.py new file mode 100644 index 0000000000000..91cc5eeddf12f --- /dev/null +++ b/Configuration/Skimming/python/PDWG_MUOJME_SD_cff.py @@ -0,0 +1,13 @@ +import FWCore.ParameterSet.Config as cms + +#Trigger bit requirement +import HLTrigger.HLTfilters.hltHighLevel_cfi as hlt +MUOJME = hlt.hltHighLevel.clone() +MUOJME.TriggerResultsTag = cms.InputTag( "TriggerResults", "", "HLT" ) +MUOJME.HLTPaths = cms.vstring( + 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8*', + ) +MUOJME.andOr = cms.bool( True ) +# we want to intentionally throw and exception +# in case it does not match one of the HLT Paths +MUOJME.throw = cms.bool( True ) From 78c5f0c1aa79e063543090be914dfdbdf405be66 Mon Sep 17 00:00:00 2001 From: Jordan Martins <36475694+jordan-martins@users.noreply.github.com> Date: Sat, 9 Dec 2023 13:47:52 -0300 Subject: [PATCH 4/9] Update autoSkim.py --- Configuration/Skimming/python/autoSkim.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Configuration/Skimming/python/autoSkim.py b/Configuration/Skimming/python/autoSkim.py index 610501b1031c6..25bb8a69c2046 100644 --- a/Configuration/Skimming/python/autoSkim.py +++ b/Configuration/Skimming/python/autoSkim.py @@ -5,11 +5,11 @@ 'DisplacedJet' : 'EXODisplacedJet+EXODelayedJet+EXODTCluster+EXOLLPJetHCAL+LogError+LogErrorMonitor', 'JetMET0' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+LogError+LogErrorMonitor', 'JetMET1' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+LogError+LogErrorMonitor', - 'EGamma0':'ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+IsoPhotonEB+LogError+LogErrorMonitor', - 'EGamma1':'ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+IsoPhotonEB+LogError+LogErrorMonitor', + 'EGamma0':'EGMJME+ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+IsoPhotonEB+LogError+LogErrorMonitor', + 'EGamma1':'EGMJME+ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+IsoPhotonEB+LogError+LogErrorMonitor', 'Tau' : 'EXODisappTrk+LogError+LogErrorMonitor', - 'Muon0' : 'ZMu+EXODisappTrk+EXOCSCCluster+EXODisappMuon+LogError+LogErrorMonitor', - 'Muon1' : 'ZMu+EXODisappTrk+EXOCSCCluster+EXODisappMuon+LogError+LogErrorMonitor', + 'Muon0' : 'MUOJME+ZMu+EXODisappTrk+EXOCSCCluster+EXODisappMuon+LogError+LogErrorMonitor', + 'Muon1' : 'MUOJME+ZMu+EXODisappTrk+EXOCSCCluster+EXODisappMuon+LogError+LogErrorMonitor', 'MuonEG' : 'TopMuEG+LogError+LogErrorMonitor', 'NoBPTX' : 'EXONoBPTXSkim+LogError+LogErrorMonitor', 'HcalNZS' : 'LogError+LogErrorMonitor', @@ -29,8 +29,8 @@ # These should be uncommented when 2022 data reprocessing # Dedicated skim for 2022 #'JetMET' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+LogError+LogErrorMonitor', - #'EGamma':'ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+LogError+LogErrorMonitor', - #'Muon' : 'ZMu+EXODisappTrk+EXODisappMuon+LogError+LogErrorMonitor', + 'EGamma':'EGMJME+ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+LogError+LogErrorMonitor', + 'Muon' : 'MUOJME+ZMu+EXODisappTrk+EXODisappMuon+LogError+LogErrorMonitor', #'DisplacedJet' : 'EXODisplacedJet+EXODelayedJet+EXODTCluster+EXOCSCCluster+EXOLLPJetHCAL+LogError+LogErrorMonitor', #'JetHT' : 'JetHTJetPlusHOFilter+LogError+LogErrorMonitor', #'MET' : 'EXOHighMET+EXODelayedJetMET+EXODisappTrk+LogError+LogErrorMonitor', From 81e50f8c27e551ef36f74ef30e2aa7906452ce7b Mon Sep 17 00:00:00 2001 From: Jordan Martins <36475694+jordan-martins@users.noreply.github.com> Date: Sat, 9 Dec 2023 13:48:59 -0300 Subject: [PATCH 5/9] Update autoSkim.py --- Configuration/Skimming/python/autoSkim.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Configuration/Skimming/python/autoSkim.py b/Configuration/Skimming/python/autoSkim.py index 25bb8a69c2046..554050e8340a8 100644 --- a/Configuration/Skimming/python/autoSkim.py +++ b/Configuration/Skimming/python/autoSkim.py @@ -28,14 +28,14 @@ # These should be uncommented when 2022 data reprocessing # Dedicated skim for 2022 - #'JetMET' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+LogError+LogErrorMonitor', + 'JetMET' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+LogError+LogErrorMonitor', 'EGamma':'EGMJME+ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+LogError+LogErrorMonitor', 'Muon' : 'MUOJME+ZMu+EXODisappTrk+EXODisappMuon+LogError+LogErrorMonitor', - #'DisplacedJet' : 'EXODisplacedJet+EXODelayedJet+EXODTCluster+EXOCSCCluster+EXOLLPJetHCAL+LogError+LogErrorMonitor', - #'JetHT' : 'JetHTJetPlusHOFilter+LogError+LogErrorMonitor', - #'MET' : 'EXOHighMET+EXODelayedJetMET+EXODisappTrk+LogError+LogErrorMonitor', - #'SingleMuon' : 'ZMu+EXODisappTrk+EXODisappMuon+LogError+LogErrorMonitor', - #'DoubleMuon' : 'LogError+LogErrorMonitor', + 'DisplacedJet' : 'EXODisplacedJet+EXODelayedJet+EXODTCluster+EXOCSCCluster+EXOLLPJetHCAL+LogError+LogErrorMonitor', + 'JetHT' : 'JetHTJetPlusHOFilter+LogError+LogErrorMonitor', + 'MET' : 'EXOHighMET+EXODelayedJetMET+EXODisappTrk+LogError+LogErrorMonitor', + 'SingleMuon' : 'ZMu+EXODisappTrk+EXODisappMuon+LogError+LogErrorMonitor', + 'DoubleMuon' : 'LogError+LogErrorMonitor', # Used in unit test scenario ppEra_Run2_2018 'SingleMuon': 'LogError+LogErrorMonitor', From cb10c79658341bab2576ea18ede8c8633c44f21b Mon Sep 17 00:00:00 2001 From: Jordan Martins <36475694+jordan-martins@users.noreply.github.com> Date: Sat, 9 Dec 2023 13:49:38 -0300 Subject: [PATCH 6/9] Update autoSkim.py --- Configuration/Skimming/python/autoSkim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configuration/Skimming/python/autoSkim.py b/Configuration/Skimming/python/autoSkim.py index 554050e8340a8..d6f5ffd0bea90 100644 --- a/Configuration/Skimming/python/autoSkim.py +++ b/Configuration/Skimming/python/autoSkim.py @@ -38,7 +38,7 @@ 'DoubleMuon' : 'LogError+LogErrorMonitor', # Used in unit test scenario ppEra_Run2_2018 - 'SingleMuon': 'LogError+LogErrorMonitor', + #'SingleMuon': 'LogError+LogErrorMonitor', } autoSkimRunII = { From 92f0fb4efc2a746430a2b2dea68a48983c012e51 Mon Sep 17 00:00:00 2001 From: Jordan Martins <36475694+jordan-martins@users.noreply.github.com> Date: Sat, 9 Dec 2023 14:22:17 -0300 Subject: [PATCH 7/9] Update PDWG_MUOJME_SD_cff.py --- Configuration/Skimming/python/PDWG_MUOJME_SD_cff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configuration/Skimming/python/PDWG_MUOJME_SD_cff.py b/Configuration/Skimming/python/PDWG_MUOJME_SD_cff.py index 91cc5eeddf12f..a37610e362d76 100644 --- a/Configuration/Skimming/python/PDWG_MUOJME_SD_cff.py +++ b/Configuration/Skimming/python/PDWG_MUOJME_SD_cff.py @@ -10,4 +10,4 @@ MUOJME.andOr = cms.bool( True ) # we want to intentionally throw and exception # in case it does not match one of the HLT Paths -MUOJME.throw = cms.bool( True ) +MUOJME.throw = cms.bool( False ) From 4d2be37c3297b04a4f4f731284b1afe8584c90f0 Mon Sep 17 00:00:00 2001 From: Jordan Martins <36475694+jordan-martins@users.noreply.github.com> Date: Sat, 9 Dec 2023 14:23:08 -0300 Subject: [PATCH 8/9] Update PDWG_EGMJME_SD_cff.py. --- Configuration/Skimming/python/PDWG_EGMJME_SD_cff.py. | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configuration/Skimming/python/PDWG_EGMJME_SD_cff.py. b/Configuration/Skimming/python/PDWG_EGMJME_SD_cff.py. index f5ba40f62961c..8711ee1ceab12 100644 --- a/Configuration/Skimming/python/PDWG_EGMJME_SD_cff.py. +++ b/Configuration/Skimming/python/PDWG_EGMJME_SD_cff.py. @@ -14,4 +14,4 @@ EGMJME.HLTPaths = cms.vstring( EGMJME.andOr = cms.bool( True ) # we want to intentionally throw and exception # in case it does not match one of the HLT Paths -EGMJME.throw = cms.bool( True ) +EGMJME.throw = cms.bool( False ) From 2990a2cb15fab724f22f99ea3d863ce816254329 Mon Sep 17 00:00:00 2001 From: Jordan Martins <36475694+jordan-martins@users.noreply.github.com> Date: Sat, 9 Dec 2023 14:23:58 -0300 Subject: [PATCH 9/9] Rename PDWG_EGMJME_SD_cff.py. to PDWG_EGMJME_SD_cff.py --- .../python/{PDWG_EGMJME_SD_cff.py. => PDWG_EGMJME_SD_cff.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Configuration/Skimming/python/{PDWG_EGMJME_SD_cff.py. => PDWG_EGMJME_SD_cff.py} (100%) diff --git a/Configuration/Skimming/python/PDWG_EGMJME_SD_cff.py. b/Configuration/Skimming/python/PDWG_EGMJME_SD_cff.py similarity index 100% rename from Configuration/Skimming/python/PDWG_EGMJME_SD_cff.py. rename to Configuration/Skimming/python/PDWG_EGMJME_SD_cff.py