Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
b5d0e83
Add modules to rekey PF candidates of PATObjects and VertexCompositeC…
nurfikri89 Sep 24, 2025
026c148
Explicitly use packedPFCandidates created in previous process
nurfikri89 Sep 24, 2025
b299d7f
First customization configurations for reMiniFromMini workflow
nurfikri89 Sep 24, 2025
70f135a
Specify packedPFCandidates collection for MET recomputation
nurfikri89 Sep 24, 2025
574643a
Revert modification in setupPuppiForPackedPF(), set Puppi producers t…
nurfikri89 Sep 24, 2025
1ba913b
Apply code-format patches
nurfikri89 Sep 24, 2025
deedc43
Merged from1510pre6_miniFromMiniSetup_v2 from repository nurfikri89 w…
vlimant Oct 6, 2025
09fba89
streamlining of PAT configuration
vlimant Oct 7, 2025
da17bba
re-mini configuration, on top of Fikri's customisation
vlimant Oct 7, 2025
6c38aaf
clean old code
vlimant Oct 7, 2025
7ced6f8
shadow inexiting modules in HI config
vlimant Oct 7, 2025
6c63a37
fix filter modules in tagging mode in case of fastSim configruation
vlimant Oct 7, 2025
bc5a389
run2 106X mini input limitations
vlimant Oct 9, 2025
8c97130
M2M test workflows. A2M UL workflows
vlimant Oct 9, 2025
52b2549
use range whereever possible
vlimant Oct 9, 2025
af42698
code formatting
vlimant Oct 9, 2025
75569c8
a range here too
vlimant Oct 9, 2025
f8fd039
use variable
vlimant Oct 9, 2025
1a552c6
enable Mini-to-mini on pre14.2 postUL MINI input
vlimant Oct 9, 2025
2f221c7
more Mini from Mini test workflows, and fix to harvesting of the appr…
vlimant Oct 9, 2025
c0069ea
remove irrelevant tests as per @ftorrresd
vlimant Oct 9, 2025
18c67c3
add Mini from mini workflows for run2 UL data
vlimant Oct 9, 2025
6e062cf
MIMI typo
vlimant Oct 9, 2025
514a8ca
add 23 data Mini to Mini, rename step for Summer23
vlimant Oct 9, 2025
51f24a9
Merge branch 'master' into mini_from_mini
vlimant Oct 9, 2025
8e9096d
use --data option and MINIAOD when it comes to data.
vlimant Oct 14, 2025
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
29 changes: 12 additions & 17 deletions Configuration/Applications/python/ConfigBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ def define_Configs(self):
self.VALIDATIONDefaultSeq=''
self.ENDJOBDefaultSeq='endOfProcess'
self.REPACKDefaultSeq='DigiToRawRepack'
self.PATDefaultSeq='miniAOD'
self.PATDefaultSeq='patTask'
self.PATGENDefaultSeq='miniGEN'
#TODO: Check based of file input
self.NANODefaultSeq='nanoSequence'
Expand All @@ -1118,7 +1118,6 @@ def define_Configs(self):
if self._options.isMC==True:
self.RAW2DIGIDefaultCFF="Configuration/StandardSequences/RawToDigi_cff"
self.RECODefaultCFF="Configuration/StandardSequences/Reconstruction_cff"
self.PATDefaultCFF="Configuration/StandardSequences/PATMC_cff"
self.PATGENDefaultCFF="Configuration/StandardSequences/PATGEN_cff"
self.DQMOFFLINEDefaultCFF="DQMOffline/Configuration/DQMOfflineMC_cff"
self.ALCADefaultCFF="Configuration/StandardSequences/AlCaRecoStreamsMC_cff"
Expand Down Expand Up @@ -1745,12 +1744,6 @@ def prepare_RAW2DIGI(self, stepSpec = "RawToDigi"):
self.scheduleSequence(_raw2digiSeq,'raw2digi_step')
return

def prepare_PATFILTER(self, stepSpec = None):
self.loadAndRemember("PhysicsTools/PatAlgos/slimming/metFilterPaths_cff")
from PhysicsTools.PatAlgos.slimming.metFilterPaths_cff import allMetFilterPaths
for filt in allMetFilterPaths:
self.schedule.append(getattr(self.process,'Flag_'+filt))

def prepare_L1HwVal(self, stepSpec = 'L1HwVal'):
''' Enrich the schedule with L1 HW validation '''
self.loadDefaultOrSpecifiedCFF(stepSpec,self.L1HwValDefaultCFF)
Expand Down Expand Up @@ -1822,18 +1815,20 @@ def prepare_RECOBEFMIX(self, stepSpec = "reconstruction"):
self.scheduleSequence(_recobefmixSeq,'reconstruction_befmix_step')
return

def prepare_PAT(self, stepSpec = "miniAOD"):
def prepare_PAT(self, stepSpec = "patTask"):
''' Enrich the schedule with PAT '''
self.prepare_PATFILTER(self)
self.loadDefaultOrSpecifiedCFF(stepSpec,self.PATDefaultCFF)
self.labelsToAssociate.append('patTask')
_,pat_sequence,pat_cff = self.loadDefaultOrSpecifiedCFF(stepSpec,self.PATDefaultCFF)
## handle the noise filters as Flag_* path that were loaded
for existing_path,path_ in self.process.paths_().items():
if existing_path.startswith('Flag_'):
print(f'scheduling {existing_path} as part of PAT configuration')
self.schedule.append( path_ )

self.labelsToAssociate.append(pat_sequence)
if self._options.isData:
self._options.customisation_file_unsch.insert(0,"PhysicsTools/PatAlgos/slimming/miniAOD_tools.miniAOD_customizeAllData")
self._options.customisation_file_unsch.insert(0,f"{pat_cff}.miniAOD_customizeAllData")
else:
if self._options.fast:
self._options.customisation_file_unsch.insert(0,"PhysicsTools/PatAlgos/slimming/miniAOD_tools.miniAOD_customizeAllMCFastSim")
else:
self._options.customisation_file_unsch.insert(0,"PhysicsTools/PatAlgos/slimming/miniAOD_tools.miniAOD_customizeAllMC")
self._options.customisation_file_unsch.insert(0,f"{pat_cff}.miniAOD_customizeAllMC")

if self._options.hltProcess:
self._customise_coms.append( f'process.patTrigger.processName = "{self._options.hltProcess}"')
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import FWCore.ParameterSet.Config as cms

# This modifier is for common settings to run miniAOD on top of
# ultra-legacy (during LS2) Run-2 MINIAOD

run2_miniAOD_miniAODUL = cms.Modifier()
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import FWCore.ParameterSet.Config as cms

# This modifier is for common settings to run miniAOD on top of
# Run-3 MINIAOD produced prior to 14.2 release

run3_miniAOD_miniAODpre142X = cms.Modifier()
98 changes: 85 additions & 13 deletions Configuration/PyReleaseValidation/python/relval_nano.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,23 +79,60 @@ def next(self, index: int = None) -> None:
'--customise': '"Configuration/DataProcessing/Utils.addMonitoring"'
}])
_HARVEST_mc = merge([_HARVEST_nano, {'--mc': ''}])
## the validation sequence VALIDATION:@miniAODValidation will not function on M2M, because it requires AOD-bound collections TBF
## the dqm sequence DQM:@miniAODDQM will not function on M2M, because it requires AOD-bound collections TBF
#_MINI_from_MINI = {'-s': 'PAT:Configuration/StandardSequences/REMINI_cff.patAlgosToolsTask,DQM:@miniAODDQM',
# '--process': 'M2M'}
_MINI_from_MINI = {'-s': 'PAT:Configuration/StandardSequences/REMINI_cff.patAlgosToolsTask',
'--eventcontent' : 'MINIAODSIM',
'--datatier' : 'MINIAODSIM',
'--process': 'M2M'}
_MINI_from_MINI_data = merge([{'--data': '',
'--eventcontent' : 'MINIAOD',
'--datatier' : 'MINIAOD'},
_MINI_from_MINI])
steps['HRV_NANO_mc'] = _HARVEST_mc
steps['HRV3_NANO_mc'] = merge([{'--filein':'file:step3_inDQM.root'},
_HARVEST_mc])
steps['HRV_NANO_data'] = _HARVEST_data
steps['HRV3_NANO_data'] = merge([{'--filein':'file:step3_inDQM.root'},
_HARVEST_data])

################################################################
# 10.6 INPUT and workflows
steps['TTbarAOD10.6_UL16APV'] = {'INPUT': InputInfo(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these 4 new input datasets need to be pulled in the ib-eos area

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

location='STD', dataSet='/TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8/RunIISummer20UL16RECOAPV-106X_mcRun2_asymptotic_preVFP_v8-v2/AODSIM')}
steps['MINI_mc10.6ul16APV'] = merge([{'--procModifiers':'run2_miniAOD_UL'}, steps['REMINIAOD_mc2016UL_preVFP']])
steps['M2M_mc10.6ul16APV'] = merge([_MINI_from_MINI, {'--procModifiers':'run2_miniAOD_miniAODUL'} ,steps['MINI_mc10.6ul16APV']])
steps['TTbarMINIAOD10.6_UL16APVv2'] = {'INPUT': InputInfo(
location='STD', dataSet='/TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8/RunIISummer20UL16MiniAODAPVv2-106X_mcRun2_asymptotic_preVFP_v11-v2/MINIAODSIM')}
steps['NANO_mc10.6ul16APVv2'] = merge([{'--era': 'Run2_2016_HIPM,run2_nanoAOD_106Xv2',
'--conditions': 'auto:run2_mc'},
_NANO_mc])
steps['TTbarAOD10.6_UL16'] = {'INPUT': InputInfo(
location='STD', dataSet='/TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8/RunIISummer20UL16RECO-106X_mcRun2_asymptotic_v13-v2/AODSIM')}
steps['MINI_mc10.6ul16'] = merge([{'--procModifiers':'run2_miniAOD_UL'}, steps['REMINIAOD_mc2016UL_postVFP']])
steps['M2M_mc10.6ul16'] = merge([_MINI_from_MINI, {'--procModifiers':'run2_miniAOD_miniAODUL'} ,steps['MINI_mc10.6ul16']])
steps['TTbarMINIAOD10.6_UL16v2'] = {'INPUT': InputInfo(
location='STD', dataSet='/TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8/RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v2/MINIAODSIM')}
steps['NANO_mc10.6ul16v2'] = merge([{'--era': 'Run2_2016,run2_nanoAOD_106Xv2',
'--conditions': 'auto:run2_mc'},
_NANO_mc])
# 2017 looking Monte-Carlo: two versions in 10.6
steps['TTbarAOD10.6_UL17'] = {'INPUT': InputInfo(
location='STD', dataSet='/TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8/RunIISummer20UL17RECO-106X_mc2017_realistic_v6-v2/AODSIM')}
steps['MINI_mc10.6ul17'] = merge([{'--procModifiers':'run2_miniAOD_UL'}, steps['REMINIAOD_mc2017UL']])
steps['M2M_mc10.6ul17'] = merge([_MINI_from_MINI, {'--procModifiers':'run2_miniAOD_miniAODUL'} ,steps['MINI_mc10.6ul17']])
steps['TTbarMINIAOD10.6_UL17v2'] = {'INPUT': InputInfo(
location='STD', dataSet='/TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8/RunIISummer20UL17MiniAODv2-106X_mc2017_realistic_v9-v2/MINIAODSIM')}
steps['NANO_mc10.6ul17v2'] = merge([{'--era': 'Run2_2017,run2_nanoAOD_106Xv2',
'--conditions': 'auto:phase1_2017_realistic'},
_NANO_mc])

steps['TTbarAOD10.6_UL18'] = {'INPUT': InputInfo(
location='STD', dataSet='/TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8/RunIISummer20UL18RECO-106X_upgrade2018_realistic_v11_L1v1-v2/AODSIM')}
steps['MINI_mc10.6ul18'] = merge([{'--procModifiers':'run2_miniAOD_UL'}, steps['REMINIAOD_mc2018UL']])
steps['M2M_mc10.6ul18'] = merge([_MINI_from_MINI, {'--procModifiers':'run2_miniAOD_miniAODUL'} ,steps['MINI_mc10.6ul18']])
steps['TTbarMINIAOD10.6_UL18v2'] = {'INPUT': InputInfo(
location='STD', dataSet='/TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8/RunIISummer20UL18MiniAODv2-106X_upgrade2018_realistic_v16_L1v1-v2/MINIAODSIM')}
steps['NANO_mc10.6ul18v2'] = merge([{'--era': 'Run2_2018,run2_nanoAOD_106Xv2',
Expand All @@ -105,25 +142,29 @@ def next(self, index: int = None) -> None:
# HIPM_UL2016_MiniAODv2 campaign is CMSSW_10_6_25
steps['MuonEG2016MINIAOD10.6v2'] = {'INPUT': InputInfo(location='STD', ls=run2_lumis,
dataSet='/MuonEG/Run2016E-HIPM_UL2016_MiniAODv2-v2/MINIAOD')}
steps['M2M_data10.6ul16'] = merge([_MINI_from_MINI_data, {'--procModifiers':'run2_miniAOD_miniAODUL'}, steps['REMINIAOD_data2016UL']])
steps['NANO_data10.6ul16v2'] = merge([{'--era': 'Run2_2016_HIPM,run2_nanoAOD_106Xv2',
'--conditions': 'auto:run2_data'},
_NANO_data])
# UL2017_MiniAODv2 campaign is CMSSW_10_6_20
steps['MuonEG2017MINIAOD10.6v2'] = {'INPUT': InputInfo(location='STD', ls=run2_lumis,
dataSet='/MuonEG/Run2017F-UL2017_MiniAODv2-v1/MINIAOD')}
steps['M2M_data10.6ul17'] = merge([_MINI_from_MINI_data, {'--procModifiers':'run2_miniAOD_miniAODUL'}, steps['REMINIAOD_data2017UL']])
steps['NANO_data10.6ul17v2'] = merge([{'--era': 'Run2_2017,run2_nanoAOD_106Xv2',
'--conditions': 'auto:run2_data'},
_NANO_data])

# UL2018_MiniAODv2 campaign is CMSSW_10_6_20
steps['MuonEG2018MINIAOD10.6v2'] = {'INPUT': InputInfo(location='STD', ls=run2_lumis,
dataSet='/MuonEG/Run2018D-UL2018_MiniAODv2-v1/MINIAOD')}
steps['M2M_data10.6ul18'] = merge([_MINI_from_MINI_data, {'--procModifiers':'run2_miniAOD_miniAODUL'}, steps['REMINIAOD_data2018UL']])
steps['NANO_data10.6ul18v2'] = merge([{'--era': 'Run2_2018,run2_nanoAOD_106Xv2',
'--conditions': 'auto:run2_data'},
_NANO_data])

################################################################
# Run2UL re-MINI/NANO
## below: nano steps in current release, using MINI redone with the current release, either from AOD or MINIAOD
steps['NANO_mc_UL16APVreMINI'] = merge([{'--era': 'Run2_2016_HIPM',
'--conditions': 'auto:run2_mc_pre_vfp'},
_NANO_mc])
Expand Down Expand Up @@ -171,10 +212,21 @@ def next(self, index: int = None) -> None:
# 13.0 workflows
steps['TTbarMINIAOD13.0'] = {'INPUT': InputInfo(
location='STD', dataSet='/TTtoLNu2Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer23MiniAODv4-130X_mcRun3_2023_realistic_v14-v2/MINIAODSIM')}

steps['M2M_mc13.0s23'] = merge([{'--era': 'Run3', '--conditions': 'auto:phase1_2023_realistic', '--procModifier': 'run3_miniAOD_miniAODpre142X'},
steps['M2M_mc10.6ul18']])
steps['NANO_mc13.0'] = merge([{'--era': 'Run3,run3_nanoAOD_pre142X', '--conditions': 'auto:phase1_2023_realistic'},
_NANO_mc])

## below: nano steps in current release, using MINI redone with the current release, either from AOD or MINIAOD
steps['NANO_mc_S23reMINI'] = merge([{'--era': 'Run3', '--conditions': 'auto:phase1_2023_realistic'},
_NANO_mc])
#steps['NANO_mc_S22reMINI'] = merge([{'--era': 'Run3', '--conditions': 'auto:phase1_2023_realistic'},## fig GT
# _NANO_mc])
#steps['NANO_mc_S22EEreMINI'] = merge([{'--era': 'Run3', '--conditions': 'auto:phase1_2023_realistic'},## fig GT
# _NANO_mc])
#steps['NANO_mc_S23reMINI'] = merge([{'--era': 'Run3_2023', '--conditions': 'auto:phase1_2023_realistic'},## fit GT
# _NANO_mc])
#steps['NANO_mc_S23BPixreMINI'] = merge([{'--era': 'Run3_2023', '--conditions': 'auto:phase1_2023_realistic'},## fix GT
# _NANO_mc])

# 13.0 workflows -- data
steps['MuonEG2023MINIAOD13.0'] = {'INPUT': InputInfo(location='STD', ls={368489: [[46, 546]]},
Expand All @@ -186,9 +238,11 @@ def next(self, index: int = None) -> None:
steps['ScoutingPFMonitor_Run2023D_RAW_130X'] = {'INPUT': InputInfo(
dataSet='/ScoutingPFMonitor/Run2023D-v1/RAW', label='2023D', events=100000, location='STD', ls=Run2023D)}

steps['M2M_data13.0'] = merge([_MINI_from_MINI_data, {'--era': 'Run3', '--conditions': 'auto:run3_data', '--procModifier': 'run3_miniAOD_miniAODpre142X'}])
steps['NANO_data13.0'] = merge([{'--era': 'Run3_2023,run3_nanoAOD_pre142X', '--conditions': 'auto:run3_data'},
_NANO_data])

steps['NANO_data_23reMINI'] = merge([{'--era': 'Run3_2023', '--conditions': 'auto:run3_data'},
_NANO_data])
steps['NANO_data13.0_prompt'] = merge([{'-s': 'NANO:@Prompt,DQM:@nanoAODDQM', '-n': '1000'},
steps['NANO_data13.0']])

Expand Down Expand Up @@ -428,6 +482,7 @@ def next(self, index: int = None) -> None:
######## 2500.0xxx ########
# Run2, 10_6_X MiniAOD input (current recommendation for 2016--2018)
workflows[_wfn()] = ['NANOmc106Xul16v2', ['TTbarMINIAOD10.6_UL16v2', 'NANO_mc10.6ul16v2', 'HRV_NANO_mc']]
workflows[_wfn()] = ['NANOmc106Xul16APVv2', ['TTbarMINIAOD10.6_UL16APVv2', 'NANO_mc10.6ul16APVv2', 'HRV_NANO_mc']]
workflows[_wfn()] = ['NANOmc106Xul17v2', ['TTbarMINIAOD10.6_UL17v2', 'NANO_mc10.6ul17v2', 'HRV_NANO_mc']]
workflows[_wfn()] = ['NANOmc106Xul18v2', ['TTbarMINIAOD10.6_UL18v2', 'NANO_mc10.6ul18v2', 'HRV_NANO_mc']]

Expand All @@ -438,16 +493,27 @@ def next(self, index: int = None) -> None:

# Run2, 10_6_X AOD, reMINI+reNANO
_wfn.subnext()
workflows[_wfn()] = ['NANOmcUL16APVreMINI', ['TTbar_13_reminiaod2016UL_preVFP_INPUT', 'REMINIAOD_mc2016UL_preVFP', 'NANO_mc_UL16APVreMINI', 'HRV_NANO_mc']] # noqa
workflows[_wfn()] = ['NANOmcUL16reMINI', ['TTbar_13_reminiaod2016UL_postVFP_INPUT', 'REMINIAOD_mc2016UL_postVFP', 'NANO_mc_UL16reMINI', 'HRV_NANO_mc']] # noqa
workflows[_wfn()] = ['NANOmcUL17reMINI', ['TTbar_13_reminiaod2017UL_INPUT', 'REMINIAOD_mc2017UL', 'NANO_mc_UL17reMINI', 'HRV_NANO_mc']] # noqa
workflows[_wfn()] = ['NANOmcUL18reMINI', ['TTbar_13_reminiaod2018UL_INPUT', 'REMINIAOD_mc2018UL', 'NANO_mc_UL18reMINI', 'HRV_NANO_mc']] # noqa
workflows[_wfn()] = ['NANOmcUL16APVreMINI', ['TTbarAOD10.6_UL16APV', 'MINI_mc10.6ul16APV', 'NANO_mc_UL16APVreMINI', 'HRV3_NANO_mc']]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these 4 are failing in the test, due to missing input AODSIM

workflows[_wfn()] = ['NANOmcUL16reMINI', ['TTbarAOD10.6_UL16', 'MINI_mc10.6ul16', 'NANO_mc_UL16reMINI', 'HRV3_NANO_mc']]
workflows[_wfn()] = ['NANOmcUL17reMINI', ['TTbarAOD10.6_UL17', 'MINI_mc10.6ul17', 'NANO_mc_UL17reMINI', 'HRV3_NANO_mc']]
workflows[_wfn()] = ['NANOmcUL18reMINI', ['TTbarAOD10.6_UL18', 'MINI_mc10.6ul18', 'NANO_mc_UL18reMINI', 'HRV3_NANO_mc']]

_wfn.subnext()
workflows[_wfn()] = ['NANOdataUL16APVreMINI', ['RunJetHT2016E_reminiaodUL', 'REMINIAOD_data2016UL_HIPM', 'NANO_data_UL16APVreMINI', 'HRV3_NANO_data']] # noqa
workflows[_wfn()] = ['NANOdataUL16reMINI', ['RunJetHT2016H_reminiaodUL', 'REMINIAOD_data2016UL', 'NANO_data_UL16reMINI', 'HRV3_NANO_data']] # noqa
workflows[_wfn()] = ['NANOdataUL17reMINI', ['RunJetHT2017F_reminiaodUL', 'REMINIAOD_data2017UL', 'NANO_data_UL17reMINI', 'HRV3_NANO_data']] # noqa
workflows[_wfn()] = ['NANOdataUL18reMINI', ['RunJetHT2018D_reminiaodUL', 'REMINIAOD_data2018UL', 'NANO_data_UL18reMINI', 'HRV3_NANO_data']] # noqa

_wfn.subnext()
workflows[_wfn()] = ['NANOdataUL16APVreMINI', ['RunJetHT2016E_reminiaodUL', 'REMINIAOD_data2016UL_HIPM', 'NANO_data_UL16APVreMINI', 'HRV_NANO_data']] # noqa
workflows[_wfn()] = ['NANOdataUL16reMINI', ['RunJetHT2016H_reminiaodUL', 'REMINIAOD_data2016UL', 'NANO_data_UL16reMINI', 'HRV_NANO_data']] # noqa
workflows[_wfn()] = ['NANOdataUL17reMINI', ['RunJetHT2017F_reminiaodUL', 'REMINIAOD_data2017UL', 'NANO_data_UL17reMINI', 'HRV_NANO_data']] # noqa
workflows[_wfn()] = ['NANOdataUL18reMINI', ['RunJetHT2018D_reminiaodUL', 'REMINIAOD_data2018UL', 'NANO_data_UL18reMINI', 'HRV_NANO_data']] # noqa
workflows[_wfn()] = ['NANOmcUL16APVMini2Mini', ['TTbarMINIAOD10.6_UL16APVv2', 'M2M_mc10.6ul16APV', 'NANO_mc_UL16APVreMINI', 'HRV3_NANO_mc']]
workflows[_wfn()] = ['NANOmcUL16Mini2Mini', ['TTbarMINIAOD10.6_UL16v2', 'M2M_mc10.6ul16', 'NANO_mc_UL16reMINI', 'HRV3_NANO_mc']]
workflows[_wfn()] = ['NANOmcUL17Mini2Mini', ['TTbarMINIAOD10.6_UL17v2', 'M2M_mc10.6ul17', 'NANO_mc_UL17reMINI', 'HRV3_NANO_mc']]
workflows[_wfn()] = ['NANOmcUL18Mini2Mini', ['TTbarMINIAOD10.6_UL18v2', 'M2M_mc10.6ul18', 'NANO_mc_UL18reMINI', 'HRV3_NANO_mc']]

_wfn.subnext()
workflows[_wfn()] = ['NANOdataUL16Mini2Mini', ['MuonEG2016MINIAOD10.6v2', 'M2M_data10.6ul16', 'NANO_data_UL16reMINI', 'HRV3_NANO_data']]
workflows[_wfn()] = ['NANOdataUL17Mini2Mini', ['MuonEG2017MINIAOD10.6v2', 'M2M_data10.6ul17', 'NANO_data_UL17reMINI', 'HRV3_NANO_data']]
workflows[_wfn()] = ['NANOdataUL18Mini2Mini', ['MuonEG2018MINIAOD10.6v2', 'M2M_data10.6ul18', 'NANO_data_UL18reMINI', 'HRV3_NANO_data']]

_wfn.next(1)
######## 2500.1xxx ########
Expand All @@ -457,6 +523,12 @@ def next(self, index: int = None) -> None:
_wfn.subnext()
workflows[_wfn()] = ['NANOdata130Xrun3', ['MuonEG2023MINIAOD13.0', 'NANO_data13.0', 'HRV_NANO_data']]

_wfn.subnext()
workflows[_wfn()] = ['NANOmc23Mini2Mini', ['TTbarMINIAOD13.0', 'M2M_mc13.0s23', 'NANO_mc_S23reMINI', 'HRV3_NANO_mc']]

_wfn.subnext()
workflows[_wfn()] = ['NANOdata23Mini2Mini', ['MuonEG2023MINIAOD13.0', 'M2M_data13.0', 'NANO_data_23reMINI', 'HRV3_NANO_data']]

# POG/PAG custom NANOs, MC
_wfn.subnext()

Expand Down Expand Up @@ -520,11 +592,11 @@ def next(self, index: int = None) -> None:

# MINIv6+NANOv15, MC
_wfn.subnext()
workflows[_wfn()] = ['NANOmc2024reMINI', ['TTbar_13p6_Summer24_AOD_140X', 'REMINIAOD_mc2024', 'NANO_mc_Summer24_reMINI', 'HRV_NANO_mc']] # noqa
workflows[_wfn()] = ['NANOmc2024reMINI', ['TTbar_13p6_Summer24_AOD_140X', 'REMINIAOD_mc2024', 'NANO_mc_Summer24_reMINI', 'HRV3_NANO_mc']] # noqa

# MINIv6+NANOv15, data
_wfn.subnext()
workflows[_wfn()] = ['NANOdata2024reMINI', ['JetMET1_Run2024H_AOD_140X', 'REMINIAOD_data2024', 'NANO_data_2024_reMINI', 'HRV_NANO_data']] # noqa
workflows[_wfn()] = ['NANOdata2024reMINI', ['JetMET1_Run2024H_AOD_140X', 'REMINIAOD_data2024', 'NANO_data_2024_reMINI', 'HRV3_NANO_data']] # noqa

_wfn.next(3)
######## 2500.3xxx ########
Expand Down
15 changes: 0 additions & 15 deletions Configuration/StandardSequences/python/PATMC_cff.py

This file was deleted.

6 changes: 5 additions & 1 deletion Configuration/StandardSequences/python/PAT_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@
bunchSpacingProducer
)

miniAOD=cms.Sequence()
from PhysicsTools.PatAlgos.slimming.miniAOD_tools import miniAOD_customizeAllData
from PhysicsTools.PatAlgos.slimming.miniAOD_tools import miniAOD_customizeAllMC

## include cms.Path defined from event filters
from PhysicsTools.PatAlgos.slimming.metFilterPaths_cff import *
7 changes: 7 additions & 0 deletions Configuration/StandardSequences/python/REMINI_cff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import FWCore.ParameterSet.Config as cms

patAlgosToolsTask = cms.Task()

from PhysicsTools.PatAlgos.slimming.miniAODFromMiniAOD_tools import miniAODFromMiniAOD_customizeAllData as miniAOD_customizeAllData
from PhysicsTools.PatAlgos.slimming.miniAODFromMiniAOD_tools import miniAODFromMiniAOD_customizeAllMC as miniAOD_customizeAllMC

Loading