Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Commit 32b9e92

Browse files
authored
Merge pull request #532 from todor-ivanov/feature_disable_NANOAOD
Exclude NANOAOD from Unified output dataplacement for standard workfl…
2 parents 4959a3a + ba6634c commit 32b9e92

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

Unified/closor.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,9 @@ def close(self):
500500
## make the specific relval rules and the replicas
501501
## figure the destination(s) out
502502
destinations = set()
503+
if tier in UC.get("tiers_to_rucio_relval"):
504+
sendLog("Data Tier: %s is blacklisted, so skipping dataset placement for: %s" % (tier,out))
505+
continue
503506
if tier != "RECO" and tier != "ALCARECO":
504507
destinations.add('T2_CH_CERN')
505508
if tier == "GEN-SIM":
@@ -541,6 +544,10 @@ def close(self):
541544
to_DDM = True
542545

543546
## by typical enabling
547+
if tier in UC.get("tiers_to_rucio_nonrelval"):
548+
sendLog("Data Tier: %s is blacklisted, so skipping dataset placement for: %s" % (tier,out))
549+
continue
550+
544551
if tier in UC.get("tiers_to_DDM"):
545552
to_DDM = True
546553
## check for unitarity

unifiedConfiguration.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,14 @@
230230
"value" : ["AODSIM","MINIAODSIM","GEN-SIM-RAW","GEN-SIM-RECO","GEN-SIM-RECODEBUG","AOD","RECO","MINIAOD","ALCARECO","USER","RAW-RECO","RAWAODSIM","NANOAOD","NANOAODSIM","FEVT","PREMIX"],
231231
"description": "The data tiers that go to AnaOps"
232232
},
233+
"tiers_to_rucio_relval": {
234+
"value" : ["NANOAOD", "NANOAODSIM"],
235+
"description": "The data tiers not to be considered for output data placement - RelVal workflows."
236+
},
237+
"tiers_to_rucio_nonrelval": {
238+
"value" : [],
239+
"description": "The data tiers not to be considered for output data placement - NonRelVal workflows."
240+
},
233241
"secondary_lock_timeout": {
234242
"value" : 30,
235243
"description": "The number of days to keep a secondary input locked"

0 commit comments

Comments
 (0)