From 7d15456c7c2387c478c32528d464ae3eec215258 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 0de800a66f567cedc3c61b51e3b3dd54c23eac39 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 2ca43ee5b650c..426ead7c7df48 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 3fa81a23bd6c97337486efcfbbd94b3b355981df 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 923483ee1a3e4273c4c28fd9d02bec9a932a1fcb 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 3930b064b7579..638156784f6d1 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 ab0391adbec841633f88976a6ad9c6ab6af097d5 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 638156784f6d1..d0e6eb4cbed1a 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 4ef9b823c0be410067ce59772810717262d3f811 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 d0e6eb4cbed1a..260fc1752ee37 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', } # For 2023 PbPb skims From 9663016d9fc8d5310e332782759b34f08d714b2f 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 9a970604bf6b7c855b1f5d50bd65bb106654d7eb 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 e1bf20a1411f38a239943ed4f03cd16e3b6cc979 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