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

Add bx skim and corresponding RelVal #26476

Closed
wants to merge 2 commits into from
Closed
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
4 changes: 4 additions & 0 deletions Configuration/PyReleaseValidation/python/relval_standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,10 @@
workflows[136.895] = ['',['RunDisplacedJet2018D','HLTDR2_2018','RECODR2_2018reHLT_skimDisplacedJet_Prompt','HARVEST2018_Prompt']]
workflows[136.896] = ['',['RunCharmonium2018D','HLTDR2_2018','RECODR2_2018reHLT_skimCharmonium_Prompt','HARVEST2018_Prompt']]

### run 2018E ###
workflows[136.899] = ['',['RunHLTPhy2018E','HLTDR2_2018','RECODR2_2018reHLT_skimHLTPhy_Prompt','HARVEST2018_Prompt']]
workflows[136.900] = ['',['RunZeroBias2018E','HLTDR2_2018','RECODR2_2018reHLT_skimZeroBias_Prompt','HARVEST2018_Prompt']]

# multi-run harvesting
workflows[137.8] = ['',['RunEGamma2018C','HLTDR2_2018','RECODR2_2018reHLT_skimEGamma_Offline_L1TEgDQM',
'RunEGamma2018D','HLTDR2_2018','RECODR2_2018reHLT_skimEGamma_Prompt_L1TEgDQM','HARVEST2018_L1TEgDQM_MULTIRUN']]
Expand Down
12 changes: 12 additions & 0 deletions Configuration/PyReleaseValidation/python/relval_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,11 @@
steps['RunDisplacedJet2018D']={'INPUT':InputInfo(dataSet='/DisplacedJet/Run2018D-v1/RAW',label='displacedJet2018D',events=100000,location='STD', ls=Run2018D)}
steps['RunCharmonium2018D']={'INPUT':InputInfo(dataSet='/Charmonium/Run2018D-v1/RAW',label='charm2018D',events=100000,location='STD', ls=Run2018D)}

#### run2 2018E ####
Run2018E={325594: [[1, 100]]}
steps['RunHLTPhy2018E']={'INPUT':InputInfo(dataSet='/HLTPhysics/Run2018E-v1/RAW',label='hltPhy2018E',events=100000,location='STD', ls=Run2018E)}
steps['RunZeroBias2018E']={'INPUT':InputInfo(dataSet='/ZeroBias/Run2018E-v1/RAW',label='zb2018E',events=100000,location='STD', ls=Run2018E)}

# Highstat HLTPhysics
Run2015DHS=selectedLS([258712,258713,258714,258741,258742,258745,258749,258750,259626,259637,259683,259685,259686,259721,259809,259810,259818,259820,259821,259822,259862,259890,259891])
steps['RunHLTPhy2015DHS']={'INPUT':InputInfo(dataSet='/HLTPhysics/Run2015D-v1/RAW',label='hltPhy2015DHS',events=100000,location='STD', ls=Run2015DHS)}
Expand Down Expand Up @@ -2131,6 +2136,8 @@ def gen2018HiMix(fragment,howMuch):
steps['RECODR2_2018reHLT_skimMuOnia']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,SKIM:BPHSkim,EI,PAT,ALCA:SiStripCalZeroBias+SiStripCalMinBias+SiStripCalSmallBiasScan+TkAlMinBias+EcalESAlign,DQM:@standardDQM+@ExtraHLT+@miniAODDQM'},steps['RECODR2_2018reHLT']])
steps['RECODR2_2018reHLT_skimCharmonium']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,SKIM:MuonPOGJPsiSkim+BPHSkim,EI,PAT,ALCA:SiStripCalZeroBias+SiStripCalMinBias+SiStripCalSmallBiasScan+TkAlMinBias+EcalESAlign,DQM:@standardDQM+@ExtraHLT+@miniAODDQM'},steps['RECODR2_2018reHLT']])
steps['RECODR2_2018reHLT_skimParkingBPH']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,SKIM:SkimBPark,EI,PAT,ALCA:SiStripCalZeroBias+SiStripCalMinBias+SiStripCalSmallBiasScan+TkAlMinBias+EcalESAlign,DQM:@standardDQM+@ExtraHLT+@miniAODDQM','--era':'Run2_2018,bParking'},steps['RECODR2_2018reHLT']])
steps['RECODR2_2018reHLT_skimHLTPhy']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,SKIM:BunchCrossingSkim,EI,PAT,ALCA:SiStripCalZeroBias+SiStripCalMinBias+SiStripCalSmallBiasScan+TkAlMinBias+EcalESAlign,DQM:@standardDQM+@ExtraHLT+@miniAODDQM'},steps['RECODR2_2018reHLT']])
steps['RECODR2_2018reHLT_skimZeroBias']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,SKIM:BunchCrossingSkim,EI,PAT,ALCA:SiStripCalZeroBias+SiStripCalMinBias+SiStripCalSmallBiasScan+TkAlMinBias+EcalESAlign,DQM:@standardDQM+@ExtraHLT+@miniAODDQM'},steps['RECODR2_2018reHLT']])



Expand Down Expand Up @@ -2199,6 +2206,11 @@ def gen2018HiMix(fragment,howMuch):
steps['RECODR2_2018reHLT_Offline_hBStar']=merge([{'--era':'Run2_2018_highBetaStar'},steps['RECODR2_2018reHLT_Offline']])
steps['RECODR2_2018reHLT_skimJetHT_Prompt_HEfail']=merge([{'--conditions':'auto:run2_data_promptlike_HEfail'},steps['RECODR2_2018reHLT_skimJetHT']])
steps['RECODR2_2018reHLT_skimJetHT_Prompt_BadHcalMitig']=merge([{'--conditions':'auto:run2_data_promptlike_HEfail','--era':'Run2_2018,pf_badHcalMitigation'},steps['RECODR2_2018reHLT_skimJetHT']])
steps['RECODR2_2018reHLT_skimHLTPhy_Prompt']=merge([{'--conditions':'auto:run2_data_promptlike'},steps['RECODR2_2018reHLT_skimHLTPhy']])
steps['RECODR2_2018reHLT_skimHLTPhy_Offline']=merge([{'--conditions':'auto:run2_data'},steps['RECODR2_2018reHLT_skimHLTPhy']])
steps['RECODR2_2018reHLT_skimZeroBias_Prompt']=merge([{'--conditions':'auto:run2_data_promptlike'},steps['RECODR2_2018reHLT_skimZeroBias']])
steps['RECODR2_2018reHLT_skimZeroBias_Offline']=merge([{'--conditions':'auto:run2_data'},steps['RECODR2_2018reHLT_skimZeroBias']])


steps['RECO']=merge([step3Defaults])

Expand Down
19 changes: 19 additions & 0 deletions DPGAnalysis/Skims/python/BunchCrossingSkim_cff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import FWCore.ParameterSet.Config as cms

from FWCore.Modules.bunchCrossingFilter_cfi import bunchCrossingFilter as _bunchCrossingFilter
selectRange1 = _bunchCrossingFilter.clone(
bunches = cms.vuint32(range(757,759))
)

selectSingle = _bunchCrossingFilter.clone(
bunches = cms.vuint32(755)
)

selectRange2 = _bunchCrossingFilter.clone(
bunches = cms.vuint32(range(1646,1651))
)

BXSeq1 = cms.Sequence( selectRange1 )
BXSeq2 = cms.Sequence( selectSingle )
BXSeq3 = cms.Sequence( selectRange2 )

14 changes: 14 additions & 0 deletions DPGAnalysis/Skims/python/Skims_DPG_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,20 @@
dataTier = cms.untracked.string('USER')
)

#############
from DPGAnalysis.Skims.BunchCrossingSkim_cff import *
BXfilter1 = cms.Path(BXSeq1)
BXfilter2 = cms.Path(BXSeq2)
BXfilter3 = cms.Path(BXSeq3)
SKIMStreamBunchCrossingSkim = cms.FilteredStream(
responsible = 'TSG',
name = 'BunchCrossingSkim',
paths = (BXfilter1,BXfilter2,BXfilter3),
content = cms.untracked.vstring( 'keep *' ),
selectEvents = cms.untracked.PSet(),
dataTier = cms.untracked.string('RAW')
)

##############
#from DPGAnalysis.Skims.BeamBkgSkim_cff import *
#pathpfgskim3noncross = cms.Path(pfgskim3noncrossseq)
Expand Down