Skip to content

Commit

Permalink
Merge pull request #43940 from LangFelix1/EXOSoftDisplacedVertices_SKIM
Browse files Browse the repository at this point in the history
[14_0_x Backport] EXOSoftDisplacedVertices skim
  • Loading branch information
cmsbuild authored Mar 4, 2024
2 parents f2ddc9b + c2a70b1 commit 72712d1
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 5 deletions.
32 changes: 32 additions & 0 deletions Configuration/Skimming/python/PDWG_EXOSoftDisplacedVertices_cff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import FWCore.ParameterSet.Config as cms

from Configuration.EventContent.EventContent_cff import AODSIMEventContent
EXOSoftDisplacedVerticesSkimContent = AODSIMEventContent.clone()

import HLTrigger.HLTfilters.hltHighLevel_cfi as _hltHighLevel

hltSoftDV = _hltHighLevel.hltHighLevel.clone(
throw = False,
andOr = True,
HLTPaths = [
"HLT_PFHT*_PFMET*_PFMHT*_IDTight_v*",
"HLT_PFMET*_PFMHT*_IDTight_v*",
"HLT_PFMET*_PFMHT*_IDTight_PFHT*_v*",
"HLT_PFMETTypeOne*_PFMHT*_IDTight_v*",
"HLT_PFMETTypeOne*_PFMHT*_IDTight_PFHT*_v*",
"HLT_PFMETNoMu*_PFMHTNoMu*_IDTight_v*",
"HLT_PFMETNoMu*_PFMHTNoMu*_IDTight_PFHT*_v*",
"HLT_MonoCentralPFJet*_PFMETNoMu*_PFMHTNoMu*_IDTight_v*",
"HLT_PFMET*_*Cleaned_v*"
]
)

softDVSelection=cms.EDFilter("CandViewSelector",
src = cms.InputTag("pfMet"),
cut = cms.string( "pt()>140" ),
filter = cms.bool(True)
)

EXOSoftDisplacedVerticesSkimSequence = cms.Sequence(
hltSoftDV * softDVSelection
)
11 changes: 11 additions & 0 deletions Configuration/Skimming/python/Skims_PDWG_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,17 @@
dataTier = cms.untracked.string('USER')
)

from Configuration.Skimming.PDWG_EXOSoftDisplacedVertices_cff import *
EXOSoftDisplacedVerticesPath = cms.Path(EXOSoftDisplacedVerticesSkimSequence)
SKIMStreamEXOSoftDisplacedVertices = cms.FilteredStream(
responsible = 'PDWG',
name = 'EXOSoftDisplacedVertices',
paths = (EXOSoftDisplacedVerticesPath ),
content = EXOSoftDisplacedVerticesSkimContent.outputCommands,
selectEvents = cms.untracked.PSet(),
dataTier = cms.untracked.string('AOD')
)

#####################
# For the Data on Data Mixing in TSG
from HLTrigger.Configuration.HLT_Fake1_cff import fragment as _fragment
Expand Down
10 changes: 5 additions & 5 deletions Configuration/Skimming/python/autoSkim.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Skim 2023
'BTagMu' : 'LogError+LogErrorMonitor',
'DisplacedJet' : 'EXODisplacedJet+EXODelayedJet+EXODTCluster+EXOCSCCluster+EXOLLPJetHCAL+LogError+LogErrorMonitor',
'JetMET0' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+TeVJet+LogError+LogErrorMonitor',
'JetMET1' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+TeVJet+LogError+LogErrorMonitor',
'JetMET0' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+EXOSoftDisplacedVertices+TeVJet+LogError+LogErrorMonitor',
'JetMET1' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+EXOSoftDisplacedVertices+TeVJet+LogError+LogErrorMonitor',
'EGamma0':'EGMJME+ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+IsoPhotonEB+LogError+LogErrorMonitor',
'EGamma1':'EGMJME+ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+IsoPhotonEB+LogError+LogErrorMonitor',
'Tau' : 'EXODisappTrk+LogError+LogErrorMonitor',
Expand All @@ -28,11 +28,11 @@

# These should be uncommented when 2022 data reprocessing
# Dedicated skim for 2022
'JetMET' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+TeVJet+LogError+LogErrorMonitor',
'JetMET' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+EXOSoftDisplacedVertices+TeVJet+LogError+LogErrorMonitor',
'EGamma':'EGMJME+ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+IsoPhotonEB+LogError+LogErrorMonitor',
'Muon' : 'MUOJME+ZMu+EXODisappTrk+EXODisappMuon+LogError+LogErrorMonitor',
'JetHT' : 'JetHTJetPlusHOFilter+TeVJet+LogError+LogErrorMonitor',
'MET' : 'EXOHighMET+EXODelayedJetMET+EXODisappTrk+TeVJet+LogError+LogErrorMonitor',
'JetHT' : 'JetHTJetPlusHOFilter+EXOSoftDisplacedVertices+TeVJet+LogError+LogErrorMonitor',
'MET' : 'EXOHighMET+EXODelayedJetMET+EXODisappTrk+EXOSoftDisplacedVertices+TeVJet+LogError+LogErrorMonitor',
'SingleMuon' : 'ZMu+EXODisappTrk+EXODisappMuon+LogError+LogErrorMonitor',
'DoubleMuon' : 'MUOJME+LogError+LogErrorMonitor',

Expand Down

0 comments on commit 72712d1

Please sign in to comment.