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

raise exception if MINIAOD is requested in HeavyIonsRun2 (same as #12075) #12076

Merged
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
13 changes: 12 additions & 1 deletion Configuration/DataProcessing/python/Impl/HeavyIonsRun2.py
Expand Up @@ -27,6 +27,11 @@ def __init__(self):

"""

def _checkMINIAOD(self,**args):
if 'outputs' in args:
for a in args['outputs']:
if a['dataTier'] == 'MINIAOD':
raise RuntimeError("MINIAOD is not supported in HeavyIonsRun2")

def promptReco(self, globalTag, **args):
"""
Expand All @@ -35,6 +40,8 @@ def promptReco(self, globalTag, **args):
Heavy ions collision data taking prompt reco

"""
self._checkMINIAOD(**args)

if not 'skims' in args:
args['skims']=['@allForPrompt']

Expand All @@ -56,6 +63,8 @@ def expressProcessing(self, globalTag, **args):
Heavy ions collision data taking express processing

"""
self._checkMINIAOD(**args)

if not 'skims' in args:
args['skims']=['@allForExpress']

Expand All @@ -76,6 +85,8 @@ def visualizationProcessing(self, globalTag, **args):
Heavy ions collision data taking visualization processing

"""
self._checkMINIAOD(**args)

customsFunction = self.visCustoms
if not 'customs' in args:
args['customs']=[ customsFunction ]
Expand All @@ -93,7 +104,7 @@ def alcaHarvesting(self, globalTag, datasetName, **args):
Heavy ions collisions data taking AlCa Harvesting

"""

self._checkMINIAOD(**args)

if not 'skims' in args and not 'alcapromptdataset' in args:
args['skims']=['BeamSpotByRun',
Expand Down