ATLAS Offline Software
Functions | Variables
python.LArSuperCellConfig Namespace Reference

Functions

def LArSuperCellCfg (inputFlags)
 

Variables

 flags = initConfigFlags()
 
 Files
 
 storeET_ID
 
 storeET_additional
 
 cfg = MainServicesCfg(flags)
 
def acc = LArSuperCellCfg(flags)
 
 sequenceName
 
 OutputLevel
 
 Dump
 
 f = open("LArSuperCell.pkl","wb")
 

Function Documentation

◆ LArSuperCellCfg()

def python.LArSuperCellConfig.LArSuperCellCfg (   inputFlags)

Definition at line 5 of file LArSuperCellConfig.py.

5 def LArSuperCellCfg(inputFlags):
6 
7  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
8  from AthenaConfiguration.ComponentFactory import CompFactory
9  from OutputStreamAthenaPool.OutputStreamConfig import addToESD, addToAOD
10  acc = ComponentAccumulator()
11 
12  # should we create bcid'ed container ?
13  if inputFlags.LAr.DT.storeET_ID:
14  from LArByteStream.LArRawSCDataReadingConfig import LArRawSCDataReadingCfg
15  acc.merge(LArRawSCDataReadingCfg(inputFlags))
16  acc.addCondAlgo(CompFactory.CaloSuperCellAlignCondAlg('CaloSuperCellAlignCondAlg'))
17  from LArCellRec.LArRAWtoSuperCellConfig import LArRAWtoSuperCellCfg
18  acc.merge(LArRAWtoSuperCellCfg(inputFlags,mask=inputFlags.LAr.DT.doSCMasking, SCellContainerOut=inputFlags.LAr.DT.ET_IDKey) )
19 
20  acc.merge(addToESD(inputFlags, ["CaloCellContainer#"+inputFlags.LAr.DT.ET_IDKey]))
21  acc.merge(addToAOD(inputFlags, ["CaloCellContainer#"+inputFlags.LAr.DT.ET_IDKey]))
22 
23  # should we create additional containers ?
24  if inputFlags.LAr.DT.storeET_additional:
25  from LArByteStream.LArRawSCDataReadingConfig import LArRawSCDataReadingCfg
26  acc.merge(LArRawSCDataReadingCfg(inputFlags))
27  acc.addCondAlgo(CompFactory.CaloSuperCellAlignCondAlg('CaloSuperCellAlignCondAlg'))
28  from LArCellRec.LArRAWtoSuperCellConfig import LArRAWtoSuperCellCfg
29  acc.merge(LArRAWtoSuperCellCfg(inputFlags,name='LArRAWtoSuperCellPlus', mask=inputFlags.LAr.DT.doSCMasking, SCellContainerOut=inputFlags.LAr.DT.ET_PlusKey, bcidShift=1) )
30  outContainers = ["CaloCellContainer#"+inputFlags.LAr.DT.ET_PlusKey]
31  acc.merge(LArRAWtoSuperCellCfg(inputFlags,name='LArRAWtoSuperCellMinus', mask=inputFlags.LAr.DT.doSCMasking, SCellContainerOut=inputFlags.LAr.DT.ET_MinusKey, bcidShift=-1) )
32  outContainers += ["CaloCellContainer#"+inputFlags.LAr.DT.ET_MinusKey]
33 
34  acc.merge(addToESD(inputFlags,outContainers))
35  acc.merge(addToAOD(inputFlags,outContainers))
36 
37  return acc
38 
39 
40 

Variable Documentation

◆ acc

def python.LArSuperCellConfig.acc = LArSuperCellCfg(flags)

Definition at line 64 of file LArSuperCellConfig.py.

◆ cfg

python.LArSuperCellConfig.cfg = MainServicesCfg(flags)

Definition at line 60 of file LArSuperCellConfig.py.

◆ Dump

python.LArSuperCellConfig.Dump

Definition at line 72 of file LArSuperCellConfig.py.

◆ f

python.LArSuperCellConfig.f = open("LArSuperCell.pkl","wb")

Definition at line 77 of file LArSuperCellConfig.py.

◆ Files

python.LArSuperCellConfig.Files

Definition at line 52 of file LArSuperCellConfig.py.

◆ flags

python.LArSuperCellConfig.flags = initConfigFlags()

Definition at line 44 of file LArSuperCellConfig.py.

◆ OutputLevel

python.LArSuperCellConfig.OutputLevel

Definition at line 71 of file LArSuperCellConfig.py.

◆ sequenceName

python.LArSuperCellConfig.sequenceName

Definition at line 69 of file LArSuperCellConfig.py.

◆ storeET_additional

python.LArSuperCellConfig.storeET_additional

Definition at line 55 of file LArSuperCellConfig.py.

◆ storeET_ID

python.LArSuperCellConfig.storeET_ID

Definition at line 54 of file LArSuperCellConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
LArRAWtoSuperCellConfig.LArRAWtoSuperCellCfg
def LArRAWtoSuperCellCfg(flags, name="LArRAWtoSuperCell", mask=True, SCellContainerOut="", SCIn="", doReco=False, bcidShift=0)
Definition: LArRAWtoSuperCellConfig.py:8
python.LArSuperCellConfig.LArSuperCellCfg
def LArSuperCellCfg(inputFlags)
Definition: LArSuperCellConfig.py:5
python.LArRawSCDataReadingConfig.LArRawSCDataReadingCfg
def LArRawSCDataReadingCfg(configFlags, **kwargs)
Definition: LArRawSCDataReadingConfig.py:8
python.OutputStreamConfig.addToESD
def addToESD(flags, itemOrList, **kwargs)
Definition: OutputStreamConfig.py:127
python.OutputStreamConfig.addToAOD
def addToAOD(flags, itemOrList, **kwargs)
Definition: OutputStreamConfig.py:142