18 basFiller = c.BlockFillers[0]
19 print(
"getattr(c, c.name()) / Type= ",
type(basFiller))
20 if "CaloEtaCut" in list(kw.keys()):
21 basFiller.CaloEtaCut = kw[
"CaloEtaCut"]
22 if "CaloPhiCut" in list(kw.keys()):
23 basFiller.CaloPhiCut = kw[
"CaloPhiCut"]
24 if "CaloLayers" in list(kw.keys()):
25 basFiller.CaloLayers = kw[
"CaloLayers"]
26 if "CaloDetectors" in list(kw.keys()):
27 basFiller.CaloDetectors = kw[
"CaloDetectors"]
28 if "TileDLayerOption" in list(kw.keys()):
29 basFiller.TileDLayerOption = kw[
"TileDLayerOption"]
31 print(
"%s - CaloEtaCut = " % (basFiller.name), basFiller.CaloEtaCut)
32 print(
"%s - CaloPhiCut = " % (basFiller.name), basFiller.CaloPhiCut)
33 print(
"%s - CaloLayersCut = " % (basFiller.name), basFiller.CaloLayers)
34 print(
"%s - CaloDetectors = " % (basFiller.name), basFiller.CaloDetectors)
37 from LArCabling.LArCablingConfig
import LArOnOffIdMappingCfg, LArOnOffIdMappingSCCfg
38 acc.merge (LArOnOffIdMappingCfg (flags))
39 acc.merge (LArOnOffIdMappingSCCfg (flags))