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

Central skims for 2018 PbPb run #24927

Merged
merged 1 commit into from Oct 30, 2018
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 0 additions & 21 deletions Configuration/Skimming/python/PA_MinBiasSkim_cff.py

This file was deleted.

36 changes: 36 additions & 0 deletions Configuration/Skimming/python/PbPb_EMuSkim_cff.py
@@ -0,0 +1,36 @@
import FWCore.ParameterSet.Config as cms

# HLT dimuon trigger
import HLTrigger.HLTfilters.hltHighLevel_cfi
hltEMuHI = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
hltEMuHI.HLTPaths = ["HLT_HIL1Mu5Eta2p5_Ele20Gsf_v*"]
hltEMuHI.throw = False
hltEMuHI.andOr = True

# selection of valid vertex
primaryVertexFilterForEMu = cms.EDFilter("VertexSelector",
src = cms.InputTag("offlinePrimaryVertices"),
cut = cms.string("!isFake && abs(z) <= 25 && position.Rho <= 2"),
filter = cms.bool(True), # otherwise it won't filter the events
)

# single lepton selector
electronSelectorForEMu = cms.EDFilter("GsfElectronRefSelector",
src = cms.InputTag("gedGsfElectrons"),
cut = cms.string("pt > 20 && abs(eta)<1.44")
)

muonSelectorForEMu = cms.EDFilter("MuonSelector",
src = cms.InputTag("muons"),
cut = cms.string("(isTrackerMuon && isGlobalMuon) && pt > 20."),
filter = cms.bool(True)
)


# EMu skim sequence
emuSkimSequence = cms.Sequence(
hltEMuHI *
primaryVertexFilterForEMu *
electronSelectorForEMu *
muonSelectorForEMu
)
Expand Up @@ -4,7 +4,7 @@
# HLT dimuon trigger
import HLTrigger.HLTfilters.hltHighLevel_cfi
hltZEEHI = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
hltZEEHI.HLTPaths = ["HLT_PADoublePhoton15_Eta3p1_Mass50_1000_v*"]
hltZEEHI.HLTPaths = ["HLT_HIDoubleEle10Gsf_v*"]
hltZEEHI.throw = False
hltZEEHI.andOr = True

Expand Down
Expand Up @@ -2,10 +2,10 @@

# HLT dimuon trigger
import HLTrigger.HLTfilters.hltHighLevel_cfi
hltZMMPA = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
hltZMMPA.HLTPaths = ["HLT_PAL3Mu15_v*"]
hltZMMPA.throw = False
hltZMMPA.andOr = True
hltZMMPbPb = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
hltZMMPbPb.HLTPaths = ["HLT_HIL1DoubleMu10_v*"]
hltZMMPbPb.throw = False
hltZMMPbPb.andOr = True

# selection of valid vertex
primaryVertexFilterForZMM = cms.EDFilter("VertexSelector",
Expand Down Expand Up @@ -39,7 +39,7 @@

# Z->mumu skim sequence
zMMSkimSequence = cms.Sequence(
hltZMMPA *
hltZMMPbPb *
primaryVertexFilterForZMM *
muonSelectorForZMM *
muonFilterForZMM *
Expand Down
Expand Up @@ -10,12 +10,12 @@
#####################


from Configuration.Skimming.PA_MinBiasSkim_cff import *
minBiasSkimPath = cms.Path( minBiasSkimSequence )
SKIMStreamPAMinBias = cms.FilteredStream(
from Configuration.Skimming.PbPb_EMuSkim_cff import *
emuSkimPath = cms.Path( emuSkimSequence )
SKIMStreamPbPbEMu = cms.FilteredStream(
responsible = 'HI PAG',
name = 'PAMinBias',
paths = (minBiasSkimPath),
name = 'PbPbEMu',
paths = (emuSkimPath),
content = skimFEVTContent.outputCommands,
selectEvents = cms.untracked.PSet(),
dataTier = cms.untracked.string('RAW-RECO')
Expand All @@ -24,11 +24,11 @@
#####################


from Configuration.Skimming.PA_ZEESkim_cff import *
from Configuration.Skimming.PbPb_ZEESkim_cff import *
zEESkimPath = cms.Path( zEESkimSequence )
SKIMStreamPAZEE = cms.FilteredStream(
SKIMStreamPbPbZEE = cms.FilteredStream(
responsible = 'HI PAG',
name = 'PAZEE',
name = 'PbPbZEE',
paths = (zEESkimPath),
content = skimFEVTContent.outputCommands,
selectEvents = cms.untracked.PSet(),
Expand All @@ -38,11 +38,11 @@
#####################


from Configuration.Skimming.PA_ZMMSkim_cff import *
from Configuration.Skimming.PbPb_ZMMSkim_cff import *
zMMSkimPath = cms.Path( zMMSkimSequence )
SKIMStreamPAZMM = cms.FilteredStream(
SKIMStreamPbPbZMM = cms.FilteredStream(
responsible = 'HI PAG',
name = 'PAZMM',
name = 'PbPbZMM',
paths = (zMMSkimPath),
content = skimFEVTContent.outputCommands,
selectEvents = cms.untracked.PSet(),
Expand Down
2 changes: 1 addition & 1 deletion Configuration/StandardSequences/python/Skims_cff.py
Expand Up @@ -48,4 +48,4 @@ def getSkimDataTier(skimname):

### Central Skims ###
from Configuration.Skimming.Skims_PDWG_cff import *
from Configuration.Skimming.Skims_PA_cff import *
from Configuration.Skimming.Skims_PbPb_cff import *