ATLAS Offline Software
Functions
GepPi0AlgConfig Namespace Reference

Functions

def GepPi0AlgCfg (flags, name, caloCellsProducer="EMB1CellsFromCaloClusters", dump=False, OutputLevel=None)
 

Function Documentation

◆ GepPi0AlgCfg()

def GepPi0AlgConfig.GepPi0AlgCfg (   flags,
  name,
  caloCellsProducer = "EMB1CellsFromCaloClusters",
  dump = False,
  OutputLevel = None 
)

Definition at line 6 of file GepPi0AlgConfig.py.

6 def GepPi0AlgCfg(
7  flags,
8  name,
9  caloCellsProducer="EMB1CellsFromCaloClusters",
10  dump=False,
11  OutputLevel=None):
12 
13  cfg = ComponentAccumulator()
14 
15  alg = CompFactory.GepPi0Alg(name)
16  if caloCellsProducer == "EMB1CellsFromCaloCells":
17  alg.caloCellsProducer = CompFactory.EMB1CellsFromCaloCells()
18  else:
19  alg.caloCellsProducer = CompFactory.EMB1CellsFromCaloClusters()
20 
21  if OutputLevel is not None:
22  alg.OutputLevel = OutputLevel
23 
24  alg.dump = dump
25  cfg.addEventAlgo(alg)
26 
27  return cfg
28 
29 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
GepPi0AlgConfig.GepPi0AlgCfg
def GepPi0AlgCfg(flags, name, caloCellsProducer="EMB1CellsFromCaloClusters", dump=False, OutputLevel=None)
Definition: GepPi0AlgConfig.py:6