ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArTest
LArEventTest
python
LArDigitsToNtupleCfg.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaConfiguration.ComponentFactory
import
CompFactory
4
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
5
6
def
LArDigitsToNtupleCfg
(flags):
7
cfg=ComponentAccumulator()
8
cfg.addEventAlgo(CompFactory.LArDigitsToNtuple(ReadTrigger=
False
,
9
ReadScint=
False
,
10
ReadPedestal=
False
,
11
ReadSCA=
False
,
12
ReadPhase=
False
,
13
NSamples=flags.LAr.ROD.nSamples,
14
ContainerKey=
"Bkg_LArDigitContainer_MC"
if
flags.Input.isMC
else
"FREE"
15
))
16
17
cfg.addService(CompFactory.NTupleSvc(Output=[
"FILE1 DATAFILE='lardigits.root' TYP='ROOT' OPT='NEW'"
]))
18
cfg.setAppProperty(
"HistogramPersistency"
,
"ROOT"
)
19
20
return
cfg
LArDigitsToNtupleCfg
Definition
LArDigitsToNtupleCfg.py:1
Generated on
for ATLAS Offline Software by
1.17.0