ATLAS Offline Software
Functions | Variables
python.CaloThinCellsBySamplingAlgConfig Namespace Reference

Functions

def CaloThinCellsBySamplingAlgCfg (flags, streamName, samplings=[], cells='AllCalo')
 

Variables

list only = ['CaloThinCellsBySamplingAlg_TileGap3_StreamAOD']
 
 flags1 = initConfigFlags()
 
 Files
 
 AtlasVersion
 
def acc1
 
 summariseProps
 
 True
 
 onlyComponents
 

Function Documentation

◆ CaloThinCellsBySamplingAlgCfg()

def python.CaloThinCellsBySamplingAlgConfig.CaloThinCellsBySamplingAlgCfg (   flags,
  streamName,
  samplings = [],
  cells = 'AllCalo' 
)

Definition at line 11 of file CaloThinCellsBySamplingAlgConfig.py.

11 def CaloThinCellsBySamplingAlgCfg (flags, streamName,
12  samplings = [],
13  cells = 'AllCalo'):
14  result = ComponentAccumulator()
15 
16  CaloThinCellsBySamplingAlg=CompFactory.CaloThinCellsBySamplingAlg
17  alg = CaloThinCellsBySamplingAlg ('CaloThinCellsBySamplingAlg_' + '_'.join (samplings) + '_' + streamName,
18  StreamName = streamName,
19  SamplingCellsName = samplings,
20  Cells = cells)
21  result.addEventAlgo (alg)
22 
23  if "AOD" in streamName:
24  #Add cell-container to AOD:
25  from OutputStreamAthenaPool.OutputStreamConfig import addToAOD
26  toAOD=[f'CaloCellContainer#{cells}',]
27  result.merge(addToAOD(flags, toAOD))
28 
29  return result
30 
31 

Variable Documentation

◆ acc1

def python.CaloThinCellsBySamplingAlgConfig.acc1
Initial value:
1 = CaloThinCellsBySamplingAlgCfg (flags1, 'StreamAOD',
2  ['TileGap3'])

Definition at line 42 of file CaloThinCellsBySamplingAlgConfig.py.

◆ AtlasVersion

python.CaloThinCellsBySamplingAlgConfig.AtlasVersion

Definition at line 40 of file CaloThinCellsBySamplingAlgConfig.py.

◆ Files

python.CaloThinCellsBySamplingAlgConfig.Files

Definition at line 39 of file CaloThinCellsBySamplingAlgConfig.py.

◆ flags1

python.CaloThinCellsBySamplingAlgConfig.flags1 = initConfigFlags()

Definition at line 38 of file CaloThinCellsBySamplingAlgConfig.py.

◆ only

list python.CaloThinCellsBySamplingAlgConfig.only = ['CaloThinCellsBySamplingAlg_TileGap3_StreamAOD']

Definition at line 36 of file CaloThinCellsBySamplingAlgConfig.py.

◆ onlyComponents

python.CaloThinCellsBySamplingAlgConfig.onlyComponents

Definition at line 44 of file CaloThinCellsBySamplingAlgConfig.py.

◆ summariseProps

python.CaloThinCellsBySamplingAlgConfig.summariseProps

Definition at line 44 of file CaloThinCellsBySamplingAlgConfig.py.

◆ True

python.CaloThinCellsBySamplingAlgConfig.True

Definition at line 44 of file CaloThinCellsBySamplingAlgConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.OutputStreamConfig.addToAOD
def addToAOD(flags, itemOrList, **kwargs)
Definition: OutputStreamConfig.py:142
python.CaloThinCellsBySamplingAlgConfig.CaloThinCellsBySamplingAlgCfg
def CaloThinCellsBySamplingAlgCfg(flags, streamName, samplings=[], cells='AllCalo')
Definition: CaloThinCellsBySamplingAlgConfig.py:11