Skip to content
Snippets Groups Projects

Draft: Add 2024 and Run3 datatypes

Closed Gloria Corti requested to merge gcorti_datatypes into master
@@ -90,7 +90,7 @@ class DDDBConf(ConfigurableUser):
"GeometryLocation":
"",
"GeometryVersion":
"trunk",
"run3/trunk",
"GeometryMain":
"LHCb.xml",
"ConditionsLocation":
@@ -106,7 +106,7 @@ class DDDBConf(ConfigurableUser):
'DbRoot':
""" Root file of the detector description """,
'DataType':
""" Symbolic name for the data type. Allowed values: ["2023", "2022", "2018", "2017", "2016", "2015", "2013", "2012", "2011", "2010", "2009","2008","Upgrade"] """,
""" Symbolic name for the data type. Allowed values: ["2024", "2023", "2022", "2018", "2017", "2016", "2015", "2013", "2012", "2011", "2010", "2009", "2008", "Run3", "Upgrade"] """,
'Simulation':
""" Boolean flag to select the simulation or real-data configuration """,
'InitialTime':
@@ -243,7 +243,8 @@ class DDDBConf(ConfigurableUser):
# by default, use the latest DQFLAGS tag for the requested data type
# (unless already set by a data type handler)
if not self.getProp("Simulation") and dataType not in ("Upgrade",
"2022", "2023"):
"2022", "2023",
"2024", "Run3"):
self.__set_tag__(["DQFLAGS"], "<latest:{0}>".format(dataType))
# Get particle properties table from condDB
@@ -311,6 +312,13 @@ class DDDBConf(ConfigurableUser):
"EventClockSvc().InitialTime already set to %s UTC (requested %s UTC)",
t.isoformat(), utcDatetime.isoformat())
def __2024_conf__(self):
"""
Default configuration for 2024 data
to be updated after final configuration is taken
"""
pass
def __2023_conf__(self):
"""
Default configuration for 2023 data
@@ -445,6 +453,12 @@ class DDDBConf(ConfigurableUser):
else:
self.__set_tag__(["SIMCOND"], "sim-20090212")
def __Run3_conf__(self):
"""
Default database for Run3 MonteCarlo production and analysis
"""
pass # nothing special here
def __Upgrade_conf__(self):
"""
Default database for Upgrade MonteCarlo production and analysis
@@ -452,6 +466,7 @@ class DDDBConf(ConfigurableUser):
pass # nothing special here
__data_types_handlers__ = {
"2024": __2024_conf__,
"2023": __2023_conf__,
"2022": __2022_conf__,
"2018": __2018_conf__,
@@ -464,5 +479,6 @@ class DDDBConf(ConfigurableUser):
"2010": __2010_conf__,
"2009": __2009_conf__,
"2008": __2008_conf__,
"Run3": __Run3_conf__,
"Upgrade": __Upgrade_conf__
}
Loading