12 DBCond = CompFactory.LVL1.jFEXCondAlgo(name)
14 ModSettings_folder =
"/TRIGGER/L1Calo/V1/Calibration/JfexModuleSettings"
15 NoiseCut_folder =
"/TRIGGER/L1Calo/V1/Calibration/JfexNoiseCuts"
16 SysSettingst_folder =
"/TRIGGER/L1Calo/V1/Calibration/JfexSystemSettings"
18 from IOVDbSvc.IOVDbSvcConfig
import addFolders
19 database =
"TRIGGER_OFL" if flags.Input.isMC
else "TRIGGER_ONL"
20 acc.merge(
addFolders(flags, ModSettings_folder , database, className=
"CondAttrListCollection"))
21 acc.merge(
addFolders(flags, NoiseCut_folder , database, className=
"CondAttrListCollection"))
22 acc.merge(
addFolders(flags, SysSettingst_folder, database, className=
"CondAttrListCollection"))
24 DBCond.JfexModuleSettings = ModSettings_folder
25 DBCond.JfexNoiseCuts = NoiseCut_folder
26 DBCond.JfexSystemSettings = SysSettingst_folder
28 DBCond.IsMC = flags.Input.isMC
30 acc.addCondAlgo(DBCond)