Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25075 from fabiocos/fc-restorePAskims104X
Restore PA skims, update HI 2018 data test workflows
- Loading branch information
Showing
6 changed files
with
167 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# HLT dimuon trigger | ||
import HLTrigger.HLTfilters.hltHighLevel_cfi | ||
hltMinBiasPA = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone() | ||
hltMinBiasPA.HLTPaths = ["HLT_PAL1MinimumBiasHF_OR_SinglePixelTrack_ForSkim_v*"] | ||
hltMinBiasPA.throw = False | ||
hltMinBiasPA.andOr = True | ||
|
||
# selection of valid vertex | ||
primaryVertexFilterForMinBiasPA = 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 | ||
) | ||
|
||
# MinBias skim sequence | ||
minBiasPASkimSequence = cms.Sequence( | ||
hltMinBiasPA * | ||
primaryVertexFilterForMinBiasPA | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
|
||
# HLT dimuon trigger | ||
import HLTrigger.HLTfilters.hltHighLevel_cfi | ||
hltZEEPA = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone() | ||
hltZEEPA.HLTPaths = ["HLT_PADoublePhoton15_Eta3p1_Mass50_1000_v*"] | ||
hltZEEPA.throw = False | ||
hltZEEPA.andOr = True | ||
|
||
# selection of valid vertex | ||
primaryVertexFilterForZEEPA = 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 | ||
goodElectronsForZEEPA = cms.EDFilter("GsfElectronRefSelector", | ||
src = cms.InputTag("gedGsfElectrons"), | ||
cut = cms.string("pt > 25 && abs(eta)<1.44") | ||
) | ||
|
||
## dilepton selectors | ||
diElectronsForZEEPA = cms.EDProducer("CandViewShallowCloneCombiner", | ||
decay = cms.string("goodElectronsForZEEPA goodElectronsForZEEPA"), | ||
checkCharge = cms.bool(False), | ||
cut = cms.string("mass > 80 && mass < 110") | ||
) | ||
|
||
# dilepton counter | ||
diElectronsFilterForZEEPA = cms.EDFilter("CandViewCountFilter", | ||
src = cms.InputTag("diElectronsForZEEPA"), | ||
minNumber = cms.uint32(1) | ||
) | ||
|
||
# Z->ee skim sequence | ||
zEEPASkimSequence = cms.Sequence( | ||
hltZEEPA * | ||
primaryVertexFilterForZEEPA * | ||
goodElectronsForZEEPA * | ||
diElectronsForZEEPA * | ||
diElectronsFilterForZEEPA | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# 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 | ||
|
||
# selection of valid vertex | ||
primaryVertexFilterForZMMPA = 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 | ||
) | ||
|
||
# selection of dimuons with mass in Z range | ||
muonSelectorForZMMPA = cms.EDFilter("MuonSelector", | ||
src = cms.InputTag("muons"), | ||
cut = cms.string("(isTrackerMuon && isGlobalMuon) && pt > 25."), | ||
filter = cms.bool(True) | ||
) | ||
|
||
muonFilterForZMMPA = cms.EDFilter("MuonCountFilter", | ||
src = cms.InputTag("muonSelectorForZMMPA"), | ||
minNumber = cms.uint32(2) | ||
) | ||
|
||
dimuonMassCutForZMMPA = cms.EDProducer("CandViewShallowCloneCombiner", | ||
checkCharge = cms.bool(True), | ||
cut = cms.string(' 80 < mass < 110'), | ||
decay = cms.string("muonSelectorForZMMPA@+ muonSelectorForZMMPA@-") | ||
) | ||
|
||
dimuonMassCutFilterForZMMPA = cms.EDFilter("CandViewCountFilter", | ||
src = cms.InputTag("dimuonMassCutForZMMPA"), | ||
minNumber = cms.uint32(1) | ||
) | ||
|
||
# Z->mumu skim sequence | ||
zMMPASkimSequence = cms.Sequence( | ||
hltZMMPA * | ||
primaryVertexFilterForZMMPA * | ||
muonSelectorForZMMPA * | ||
muonFilterForZMMPA * | ||
dimuonMassCutForZMMPA * | ||
dimuonMassCutFilterForZMMPA | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from Configuration.EventContent.EventContent_cff import FEVTEventContent | ||
|
||
skimFEVTContent = FEVTEventContent.clone() | ||
skimFEVTContent.outputCommands.append("drop *_MEtoEDMConverter_*_*") | ||
skimFEVTContent.outputCommands.append("drop *_*_*_SKIM") | ||
|
||
|
||
##################### | ||
|
||
|
||
from Configuration.Skimming.PA_MinBiasSkim_cff import * | ||
minBiasPASkimPath = cms.Path( minBiasPASkimSequence ) | ||
SKIMStreamPAMinBias = cms.FilteredStream( | ||
responsible = 'HI PAG', | ||
name = 'PAMinBias', | ||
paths = (minBiasPASkimPath), | ||
content = skimFEVTContent.outputCommands, | ||
selectEvents = cms.untracked.PSet(), | ||
dataTier = cms.untracked.string('RAW-RECO') | ||
) | ||
|
||
##################### | ||
|
||
|
||
from Configuration.Skimming.PA_ZEESkim_cff import * | ||
zEEPASkimPath = cms.Path( zEEPASkimSequence ) | ||
SKIMStreamPAZEE = cms.FilteredStream( | ||
responsible = 'HI PAG', | ||
name = 'PAZEE', | ||
paths = (zEEPASkimPath), | ||
content = skimFEVTContent.outputCommands, | ||
selectEvents = cms.untracked.PSet(), | ||
dataTier = cms.untracked.string('RAW-RECO') | ||
) | ||
|
||
##################### | ||
|
||
|
||
from Configuration.Skimming.PA_ZMMSkim_cff import * | ||
zMMPASkimPath = cms.Path( zMMPASkimSequence ) | ||
SKIMStreamPAZMM = cms.FilteredStream( | ||
responsible = 'HI PAG', | ||
name = 'PAZMM', | ||
paths = (zMMPASkimPath), | ||
content = skimFEVTContent.outputCommands, | ||
selectEvents = cms.untracked.PSet(), | ||
dataTier = cms.untracked.string('RAW-RECO') | ||
) | ||
|
||
##################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters