ATLAS Offline Software
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 
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
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
LArDigitsToNtupleCfg.LArDigitsToNtupleCfg
def LArDigitsToNtupleCfg(flags)
Definition: LArDigitsToNtupleCfg.py:6