12 Basic setup of tower maker cfg for new JO
13 WARNING: need to add dependencies on digi flags (as above) that are missing as of now
22 from CaloConditions.CaloConditionsConfig
import CaloTTIdMapCfg
23 from TileConditions.TileInfoLoaderConfig
import TileInfoLoaderCfg
27 from TrigT1CaloCondSvc.L1CaloCondConfig
import L1CaloCondAlgCfg
32 if flags.Input.Format
is Format.POOL:
34 (
'LArTTL1Container',
'LArTTL1EM'),
35 (
'LArTTL1Container',
'LArTTL1HAD'),
36 (
'TileTTL1Container',
'TileTTL1Cnt'),
38 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
42 from TrigConfigSvc.TrigConfigSvcCfg
import L1ConfigSvcCfg
46 from LumiBlockComps.LumiBlockMuWriterConfig
import LumiBlockMuWriterCfg
49 condalgo = acc.getCondAlgo(
"L1CaloCondAlg")
50 alg = CompFactory.LVL1.Run2TriggerTowerMaker(name,
51 DigiEngine =
"{}_Digitization".
format(name),
54 inputTTLocation =
'unused',
55 TriggerTowerLocationRerun =
'also_unused',
57 ChanCalibFolderKey = condalgo.OutputKeyPPr,
58 ChanDefaultsFolderKey = condalgo.OutputKeyDef,
59 DisabledTowersFolderKey = condalgo.OutputKeyDisTowers,
60 DeadChannelsFolderKey = condalgo.OutputKeyPpmDeadChannels,
61 TTTool = CompFactory.LVL1.L1TriggerTowerTool(
"L1TriggerTowerTool",
62 InputKeyRunParameters=condalgo.OutputKeyRunParameters,
63 InputKeyPprConditionsRun2=condalgo.OutputKeyPprConditionsRun2,
64 InputKeyDisabledChannelRun2=condalgo.OutputKeyDisabledChannelRun2,
65 InputKeyTimeRefs=condalgo.OutputKeyTimeRefs)