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

[14_0_x Backport] EXOSoftDisplacedVertices skim #43940

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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