Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport to 130X] Adding Two Secondary Datasets for JME POG #43538

Merged
merged 9 commits into from
Dec 12, 2023
Merged
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