#kwargs.setdefault("ReadSTgcAsBuiltParamsKey","/MUONALIGN/ASBUILTPARAMS/STGC") # This is the folder that sould be used once the as builts are validated, so keep it here but commented out
kwargs.setdefault("ReadSTgcAsBuiltParamsKey","")# for now diable the reading of sTGC as build from the conditions database
kwargs.setdefault("ReadSTgcAsBuiltParamsKey","")# disable the stgc part of NswAsBuilt, proper code cleanup will follow
##TODO: remove hard-coded tag once the global tag is ready
fromIOVDbSvc.IOVDbSvcConfigimportaddFolders
if(not(kwargs["MicroMegaJSON"]ornotkwargs["ReadMmAsBuiltParamsKey"])):# no need to add the folder if we are reading a json file anyhow
ifnotkwargs["readFromJSON"]andFalse:# for now only allow reading from json since there is no database content available
kwargs.setdefault("ReadKey","/MUONALIGN/ASBUILTPARAMS/STGC")# This is the folder that sould be used once the as builts are validated, so keep it here but commented out