-
- Downloads
There was a problem fetching the pipeline summary.
add sysExecute(EventContext) and extract errorCount from Algorithm base class
We need to extract the `m_errorCount` variable from the Algorithm base class, as it's not important on a per-instance basis, but rather on a job level. This is moved to the AlgExecStateSvc. This merge request also adds an explicit `IAlgorithm::sysExecute(const EventContext&)`, which should become the standard entry point to `Algorithm::execute`. This sets the local m_event_context variable, so derived classes can get quick access to the current context instead of going through the slower thead local `Gaudi::Hive::currentContext()`. Note that `IAlgorithm::sysExecute()` has been removed, to avoid "overloaded virtual" compiler errors, and should be replaced in all clients with `IAlgorithm::sysExecute(EventContext)`, or if the context is not immediately available, with `IAlgorithm::sysExecute(Gaudi::Hive::currentContext())`. All this is being done in preparation to re-introduce the ReEntrantAlgorithm class from merge !177 (see also !274) See merge request !273
Showing
- GaudiAlg/GaudiAlg/GaudiAlgorithm.h 1 addition, 1 deletionGaudiAlg/GaudiAlg/GaudiAlgorithm.h
- GaudiAlg/src/lib/GaudiAlgorithm.cpp 3 additions, 2 deletionsGaudiAlg/src/lib/GaudiAlgorithm.cpp
- GaudiAlg/src/lib/GaudiSequencer.cpp 1 addition, 1 deletionGaudiAlg/src/lib/GaudiSequencer.cpp
- GaudiAlg/src/lib/Sequencer.cpp 1 addition, 1 deletionGaudiAlg/src/lib/Sequencer.cpp
- GaudiCoreSvc/src/AlgExecStateSvc/AlgExecStateSvc.cpp 45 additions, 0 deletionsGaudiCoreSvc/src/AlgExecStateSvc/AlgExecStateSvc.cpp
- GaudiCoreSvc/src/AlgExecStateSvc/AlgExecStateSvc.h 7 additions, 0 deletionsGaudiCoreSvc/src/AlgExecStateSvc/AlgExecStateSvc.h
- GaudiCoreSvc/src/ApplicationMgr/AlgorithmManager.cpp 10 additions, 0 deletionsGaudiCoreSvc/src/ApplicationMgr/AlgorithmManager.cpp
- GaudiCoreSvc/src/IncidentSvc/DataOnDemandSvc.cpp 2 additions, 1 deletionGaudiCoreSvc/src/IncidentSvc/DataOnDemandSvc.cpp
- GaudiExamples/tests/qmtest/refs/Aida2Root.ref 13 additions, 16 deletionsGaudiExamples/tests/qmtest/refs/Aida2Root.ref
- GaudiExamples/tests/qmtest/refs/AlgTools2.ref 15 additions, 16 deletionsGaudiExamples/tests/qmtest/refs/AlgTools2.ref
- GaudiExamples/tests/qmtest/refs/ColorMsg.ref 9 additions, 17 deletionsGaudiExamples/tests/qmtest/refs/ColorMsg.ref
- GaudiExamples/tests/qmtest/refs/EvtColsEx/Write.ref 8 additions, 9 deletionsGaudiExamples/tests/qmtest/refs/EvtColsEx/Write.ref
- GaudiExamples/tests/qmtest/refs/GaudiCommonTests.ref 8 additions, 10 deletionsGaudiExamples/tests/qmtest/refs/GaudiCommonTests.ref
- GaudiExamples/tests/qmtest/refs/Histograms.ref 11 additions, 13 deletionsGaudiExamples/tests/qmtest/refs/Histograms.ref
- GaudiExamples/tests/qmtest/refs/History.ref 9 additions, 20 deletionsGaudiExamples/tests/qmtest/refs/History.ref
- GaudiExamples/tests/qmtest/refs/MetaDataSvc.ref 9 additions, 9 deletionsGaudiExamples/tests/qmtest/refs/MetaDataSvc.ref
- GaudiExamples/tests/qmtest/refs/ROOT_IO/ExtCollWrite.ref 8 additions, 10 deletionsGaudiExamples/tests/qmtest/refs/ROOT_IO/ExtCollWrite.ref
- GaudiExamples/tests/qmtest/refs/ROOT_IO/Write.ref 38 additions, 47 deletionsGaudiExamples/tests/qmtest/refs/ROOT_IO/Write.ref
- GaudiExamples/tests/qmtest/refs/TBB/GaudiCommonTests.ref 12 additions, 14 deletionsGaudiExamples/tests/qmtest/refs/TBB/GaudiCommonTests.ref
- GaudiExamples/tests/qmtest/refs/conditional_output/write.ref 31 additions, 47 deletionsGaudiExamples/tests/qmtest/refs/conditional_output/write.ref
Loading
Please register or sign in to comment