ATLAS Offline Software
EnableFixHepMC.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 # This fragment turns on the FixHepMC algorithm
3 from AthenaCommon.AlgSequence import AlgSequence
4 topAlg = AlgSequence()
5 print ("Running FixHepMC")
6 if not hasattr(topAlg, "FixHepMC"):
7  # TODO: what if it exists but at the wrong point in the sequence? Move to the end?
8  from EvgenProdTools.EvgenProdToolsConf import FixHepMC
9  topAlg += FixHepMC()
python.AlgSequence.AlgSequence
AlgSequence
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py:7