ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
TruthIO
python
TruthIOConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
4
from
AthenaConfiguration.ComponentFactory
import
CompFactory
5
from
GeneratorConfig.Sequences
import
EvgenSequence, EvgenSequenceFactory
6
7
8
def
PrintMCCfg
(flags, name="PrintMC", **kwargs):
9
kwargs.setdefault(
"McEventKey"
,
"GEN_EVENT"
)
10
kwargs.setdefault(
"VerboseOutput"
,
True
)
11
kwargs.setdefault(
"PrintStyle"
,
"Barcode"
)
12
kwargs.setdefault(
"FirstEvent"
, 1)
13
kwargs.setdefault(
"LastEvent"
, 1)
14
15
acc = ComponentAccumulator(EvgenSequenceFactory(EvgenSequence.Post))
16
acc.addEventAlgo(CompFactory.PrintMC(name, **kwargs))
17
return
acc
TruthIOConfig.PrintMCCfg
PrintMCCfg(flags, name="PrintMC", **kwargs)
Definition
TruthIOConfig.py:8
Generated on
for ATLAS Offline Software by
1.17.0