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

Functions

 AddFlowByShiftingCfg (flags, name="AddFlowByShifting", **kwargs)

Variables

 log = logging.getLogger("FlowAfterburnerConfig")

Function Documentation

◆ AddFlowByShiftingCfg()

AddFlowByShiftingCfg ( flags,
name = "AddFlowByShifting",
** kwargs )
Configuration fragment that sets up the AddFlowByShifting
algorithm and returns a CA instance.

Definition at line 12 of file FlowAfterburnerConfig.py.

12def AddFlowByShiftingCfg(flags, name="AddFlowByShifting", **kwargs):
13 """
14 Configuration fragment that sets up the AddFlowByShifting
15 algorithm and returns a CA instance.
16 """
17
18 # Create CA object
19 ca = ComponentAccumulator(EvgenSequenceFactory(EvgenSequence.Generator))
20 ca.addEventAlgo(
21 CompFactory.AddFlowByShifting(name, **kwargs)
22 )
23
24 # Announce generator to service
25 from GeneratorConfig.GeneratorInfoSvcConfig import GeneratorInfoSvcCfg
26 ca.merge(GeneratorInfoSvcCfg(flags, Generators=["AddFlowByShifting"]), sequenceName=EvgenSequence.Generator.value)
27
28 return ca

Variable Documentation

◆ log

FlowAfterburnerConfig.log = logging.getLogger("FlowAfterburnerConfig")

Definition at line 9 of file FlowAfterburnerConfig.py.