Skip to content

Commit

Permalink
Merge pull request #43538 from jordan-martins/my-backport
Browse files Browse the repository at this point in the history
[Backport to 130X] Adding Two Secondary Datasets for JME POG
  • Loading branch information
cmsbuild authored Dec 12, 2023
2 parents 4349009 + 2990a2c commit 4c47ab0
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 13 deletions.
17 changes: 17 additions & 0 deletions Configuration/Skimming/python/PDWG_EGMJME_SD_cff.py
Original file line number Diff line number Diff line change
@@ -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( False )
13 changes: 13 additions & 0 deletions Configuration/Skimming/python/PDWG_MUOJME_SD_cff.py
Original file line number Diff line number Diff line change
@@ -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( False )
22 changes: 22 additions & 0 deletions Configuration/Skimming/python/Skims_PDWG_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
)

####################


Expand Down
26 changes: 13 additions & 13 deletions Configuration/Skimming/python/autoSkim.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -28,17 +28,17 @@

# 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',
#'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',
'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',

# Used in unit test scenario ppEra_Run2_2018
'SingleMuon': 'LogError+LogErrorMonitor',
#'SingleMuon': 'LogError+LogErrorMonitor',
}

autoSkimRunII = {
Expand Down

0 comments on commit 4c47ab0

Please sign in to comment.