ATLAS Offline Software
Loading...
Searching...
No Matches
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
3from AthenaCommon.AlgSequence import AlgSequence
4topAlg = AlgSequence()
5print ("Running FixHepMC")
6if 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()
A "fix-up" algorithm to correct weird event records.
Definition FixHepMC.h:31