10 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
11 from AthenaConfiguration.ComponentFactory
import CompFactory
12 from 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']
28 return StatusCode.Success
34 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
35 from TileGeoModel.TileGMConfig
import TileGMCfg
39 from LArCabling.LArCablingConfig
import LArOnOffIdMappingCfg
42 result.addEventAlgo (CreateDataAlg (
'CreateDataAlg'))
44 CaloCellContainerAliasAlg=CompFactory.CaloCellContainerAliasAlg
45 result.addEventAlgo (CaloCellContainerAliasAlg (
'aliasAlg',
49 result.addEventAlgo (CheckAliasAlg (
'CheckAliasAlg'))
53 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
54 from AthenaConfiguration.TestDefaults
import defaultTestFiles
56 flags.Input.Files = defaultTestFiles.RDO_RUN2
57 flags.Input.TimeStamps = [1000]
58 flags.Detector.GeometryLAr =
True
59 flags.Detector.GeometryTile =
True
60 flags.needFlagsCategory(
'Tile')
61 flags.needFlagsCategory(
'LAr')
64 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
67 from McEventSelector.McEventSelectorConfig
import McEventSelectorCfg
68 acc.merge (McEventSelectorCfg (flags))
70 acc.merge (testCfg (flags))