10from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
11from AthenaConfiguration.ComponentFactory
import CompFactory
12from AthenaPython.PyAthenaComps
import Alg, StatusCode
18 ccc = ROOT.CaloCellContainer()
19 self.evtStore.record (ccc,
'AllCalo',
False)
20 return StatusCode.Success
25 ccc1 = self.evtStore[
'AllCalo']
26 ccc2 = self.evtStore[
'CellAlias']
27 assert (repr(ccc1) == repr(ccc2))
28 return StatusCode.Success
32 result = ComponentAccumulator()
34 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
35 from TileGeoModel.TileGMConfig
import TileGMCfg
36 result.merge(LArGMCfg(flags))
37 result.merge(TileGMCfg(flags))
39 from LArCabling.LArCablingConfig
import LArOnOffIdMappingCfg
40 result.merge(LArOnOffIdMappingCfg(flags))
42 result.addEventAlgo (CreateDataAlg (
'CreateDataAlg'))
44 CaloCellContainerAliasAlg=CompFactory.CaloCellContainerAliasAlg
45 result.addEventAlgo (CaloCellContainerAliasAlg (
'aliasAlg',
49 result.addEventAlgo (CheckAliasAlg (
'CheckAliasAlg'))
53from AthenaConfiguration.AllConfigFlags
import initConfigFlags
54from AthenaConfiguration.TestDefaults
import defaultTestFiles
55flags = initConfigFlags()
56flags.Input.Files = defaultTestFiles.RDO_RUN2
57flags.Input.TimeStamps = [1000]
58flags.Detector.GeometryLAr =
True
59flags.Detector.GeometryTile =
True
60flags.needFlagsCategory(
'Tile')
61flags.needFlagsCategory(
'LAr')
64from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
65acc = MainServicesCfg(flags)
67from McEventSelector.McEventSelectorConfig
import McEventSelectorCfg
68acc.merge (McEventSelectorCfg (flags))
70acc.merge (testCfg (flags))