ATLAS Offline Software
Loading...
Searching...
No Matches
LArDigitsToNtupleCfg Namespace Reference

Functions

 LArDigitsToNtupleCfg (flags)

Function Documentation

◆ LArDigitsToNtupleCfg()

LArDigitsToNtupleCfg.LArDigitsToNtupleCfg ( flags)

Definition at line 6 of file LArDigitsToNtupleCfg.py.

6def 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