ATLAS Offline Software
Loading...
Searching...
No Matches
python.LArSuperCellConfig Namespace Reference

Functions

 LArSuperCellCfg (inputFlags)

Variables

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

Function Documentation

◆ LArSuperCellCfg()

python.LArSuperCellConfig.LArSuperCellCfg ( inputFlags)

Definition at line 5 of file LArSuperCellConfig.py.

5def 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

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.