ATLAS Offline Software
Classes | Functions
python.Sequences Namespace Reference

Classes

class  EvgenSequence
 

Functions

def EvgenSequenceFactory (sequence)
 

Detailed Description

Common enums for the generator configuration

Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration

Function Documentation

◆ EvgenSequenceFactory()

def python.Sequences.EvgenSequenceFactory (   sequence)
Factory function to return the AthSequencer instance based on the enum value.

Definition at line 17 of file Sequences.py.

17 def EvgenSequenceFactory(sequence):
18  """Factory function to return the AthSequencer instance based on the enum value."""
19  from AthenaConfiguration.ComponentFactory import CompFactory
20  AthSequencer = CompFactory.AthSequencer
21  if sequence is EvgenSequence.Generator:
22  return AthSequencer(EvgenSequence.Generator.value, StopOverride=True)
23  if sequence is EvgenSequence.Fix:
24  return AthSequencer(EvgenSequence.Fix.value, StopOverride=True)
25  if sequence is EvgenSequence.PreFilter:
26  return AthSequencer(EvgenSequence.PreFilter.value, StopOverride=True)
27  if sequence is EvgenSequence.Test:
28  return AthSequencer(EvgenSequence.Test.value, StopOverride=True)
29  if sequence is EvgenSequence.Filter:
30  return AthSequencer(EvgenSequence.Filter.value, StopOverride=True)
31  if sequence is EvgenSequence.Post:
32  return AthSequencer(EvgenSequence.Post.value, StopOverride=True)
python.Sequences.EvgenSequenceFactory
def EvgenSequenceFactory(sequence)
Definition: Sequences.py:17
AthSequencer
ClassName: AthSequencer.
Definition: AthSequencer.h:40