ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArTest
LArEventTest
python
LArRawChannelDump.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
from
AthenaConfiguration.ComponentFactory
import
CompFactory
3
4
if
__name__ ==
"__main__"
:
5
6
from
AthenaConfiguration.AllConfigFlags
import
initConfigFlags
7
flags = initConfigFlags()
8
flags.Input.Files = [
"myRDO.pool.root"
,]
9
flags.lock()
10
11
from
AthenaConfiguration.MainServicesConfig
import
MainServicesCfg
12
from
AthenaPoolCnvSvc.PoolReadConfig
import
PoolReadCfg
13
14
cfg=MainServicesCfg(flags)
15
cfg.merge(PoolReadCfg(flags))
16
17
from
LArGeoAlgsNV.LArGMConfig
import
LArGMCfg
18
cfg.merge(LArGMCfg(flags))
19
from
LArCabling.LArCablingConfig
import
LArOnOffIdMappingCfg
20
cfg.merge(LArOnOffIdMappingCfg(flags))
21
cfg.addEventAlgo(CompFactory.DumpLArRawChannels(NtupStream=
"LARRC"
,OutputFileName=
""
,ToLog=
False
))
22
23
cfg.addService(CompFactory.THistSvc(Output = [
"LARRC DATAFILE='LARRC.root', OPT='RECREATE'"
]))
24
25
26
cfg.run(-1)
27
28
Generated on
for ATLAS Offline Software by
1.17.0