ATLAS Offline Software
Functions | Variables
Egamma1_LArStrip_Fex_RowAwareCfg Namespace Reference

Functions

def Egamma1_LArStrip_Fex_RowAwareCfg (flags, name='Egamma1_LArStrip_Fex_RowAware', caloCellProducer="EMB1CellsFromCaloCells", dump=False, dumpTerse=False, makeCaloCellContainerChecks=True, OutputLevel=None)
 

Variables

 logger
 

Function Documentation

◆ Egamma1_LArStrip_Fex_RowAwareCfg()

def Egamma1_LArStrip_Fex_RowAwareCfg.Egamma1_LArStrip_Fex_RowAwareCfg (   flags,
  name = 'Egamma1_LArStrip_Fex_RowAware',
  caloCellProducer = "EMB1CellsFromCaloCells",
  dump = False,
  dumpTerse = False,
  makeCaloCellContainerChecks = True,
  OutputLevel = None 
)

Definition at line 11 of file Egamma1_LArStrip_Fex_RowAwareCfg.py.

12  flags,
13  name='Egamma1_LArStrip_Fex_RowAware',
14  caloCellProducer="EMB1CellsFromCaloCells",
15  dump=False,
16  dumpTerse=False,
17  makeCaloCellContainerChecks=True,
18  OutputLevel=None):
19 
20  cfg = ComponentAccumulator()
21 
22 
23  alg = CompFactory.GlobalSim.Egamma1_LArStrip_Fex_RowAware(name)
24 
25  if caloCellProducer == "EMB1CellsFromCaloCells":
26  caloCellProducer = CompFactory.GlobalSim.EMB1CellsFromCaloCells()
27  caloCellProducer.makeCaloCellContainerChecks = makeCaloCellContainerChecks
28  if flags.Input.isMC:
29  caloCellProducer.caloCells = "AllCalo"
30  else:
31  caloCellProducer.caloCells = "SeedLessFS"
32  else:
33  logger.debug("Cell fetcher " + caloCellProducer + " not supported")
34  return cfg
35 
36  roiAlgTool = CompFactory.GlobalSim.eFexRoIAlgTool()
37 
38  alg.caloCellProducer = caloCellProducer
39  alg.roiAlgTool = roiAlgTool
40 
41  if OutputLevel is not None:
42  alg.OutputLevel = OutputLevel
43  caloCellProducer.OutputLevel = OutputLevel
44  roiAlgTool.OutputLevel = OutputLevel
45 
46  alg.dump = dump
47  alg.dumpTerse = dumpTerse
48  cfg.addEventAlgo(alg)
49 
50  return cfg
51 

Variable Documentation

◆ logger

Egamma1_LArStrip_Fex_RowAwareCfg.logger

Definition at line 7 of file Egamma1_LArStrip_Fex_RowAwareCfg.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
Egamma1_LArStrip_Fex_RowAwareCfg.Egamma1_LArStrip_Fex_RowAwareCfg
def Egamma1_LArStrip_Fex_RowAwareCfg(flags, name='Egamma1_LArStrip_Fex_RowAware', caloCellProducer="EMB1CellsFromCaloCells", dump=False, dumpTerse=False, makeCaloCellContainerChecks=True, OutputLevel=None)
Definition: Egamma1_LArStrip_Fex_RowAwareCfg.py:11