Skip to content
Snippets Groups Projects
  1. Nov 03, 2023
  2. Jul 26, 2023
    • Sebastien Ponce's avatar
      Added final & regular flushing feature to BaseSink · d92c0131
      Sebastien Ponce authored and Marco Clemencic's avatar Marco Clemencic committed
      The Sinks have now to implement a flush method, called both at the end (finalize) and regularly if auto flush is activated (via non 0 AutoFlushPeriod property).
      Existing Sinks have been adapted.
      
      Also added unit testing for BaseSink, both for the regular flushing and previous existing (and not yet tested) features.
      d92c0131
  3. Jul 18, 2023
    • Marco Clemencic's avatar
      Reorganize files and refactor code to make GaudiAlg optional · 6babff9b
      Marco Clemencic authored
      - move Gaudi::Funtional to GaudiFunctional subdir
        - headers are now under "Gaudi/Functional"
        - legacy GaudiAlg corresponding header redirect to the new ones
      - replace GaudiAlgorithm with Algorithm wherever possible in tests and
        utilities
      - add Gaudi::Sequencer basic implementation to replace GaudiSequencer
      - move GaudiAlg specific tests, examples, dictionaries and Python modules
        to GaudiAlg subdir
      - add CMake option GAUDI_ENABLE_GAUDIALG to allow skipping GaudiAlg
        (default to true)
      - minor fixes and clean ups
      6babff9b
  4. Jan 23, 2023
  5. Nov 23, 2022
  6. Dec 09, 2021
  7. Apr 07, 2021
    • Sebastien Ponce's avatar
      Removed unused properties in GaudiCommon · 215f4817
      Sebastien Ponce authored
      Namely m_header, m_format1, m_format2, m_useEffFormat, m_printEmptyCounters, m_statEntityList
      
      This should have in principle no consequences, but most tests will
      actually fail as the properties values are printed to the output, and
      these will be missing now
      215f4817
  8. Oct 08, 2020
    • Sebastien Ponce's avatar
      Adapted ref file of MetaDataSvc example · 063f7d4a
      Sebastien Ponce authored
      063f7d4a
    • Sebastien Ponce's avatar
      Implemented printing of counters through the Monitoring::Hub · a88d7ec6
      Sebastien Ponce authored
      Note that MonitoringHub is now Gaudi::Monitoring::Hub.
      
      Counters are now serialized in json and sent to a MessageSvcSink for printing.
      This should be kind of backward compatible with current printing except that the Counter order may change.
      
      The CounterHolder wrapper, now useless, has been dropped and counters register directly to the Monitoring::Hub
      Note that his had the consequence that the Counters method of the python interface had to be dropped.
      It does not seem to be used, but in case it would be needed, it can be implemented if we add a dedicated method to list counters of a given component to the Monitoringi::Hub
      a88d7ec6
  9. Oct 07, 2020
  10. Sep 21, 2020
  11. Jul 28, 2020
  12. Dec 06, 2019
  13. May 15, 2019
  14. Jul 19, 2018
  15. Feb 14, 2018
  16. Oct 08, 2017
  17. Mar 07, 2017
  18. Jan 27, 2017
    • Charles Leggett's avatar
      Removed IAlgorithm::sysExecute() · a09edbdc
      Charles Leggett authored
      having sysExecute() and sysExecute(EventContext) causes "overloaded virtual" compiler
      warnings, and we don't actually need the one without an EventContext.
      
      Updated reference files for tests
      a09edbdc
  19. Oct 27, 2016
  20. Aug 18, 2016
    • Charles Leggett's avatar
      Introduction of AlgExecStateSvc · dbf23b7c
      Charles Leggett authored
      All event state information removed from Algorithm base class
      (m_filterPassed, m_isExecuted) as it will cause difficulties with
      re-entrant Algorithms.
      
      event success/fail flag removed from EventContext
      
      These flags are moved to be under control of a new service, the
      AlgExecStateSvc, which keeps track of the execution state of all
      Algorithms, and the Event as a whole.
      
      Algorithm status kept in a new class AlgExecState which has
           bool m_filterPassed;
           bool m_isExecuted;
           StatusCode m_execStatus;
      
      AlgExecStateSvc holds an AlgExecState for each Algorithm in each Event
      Slot, as well as an overall EventStatus for each EventSlot, which can be one of
         Invalid = 0,
         Success = 1,
         AlgFail = 2,
         AlgStall = 3,
         Other = 4
      
      Algorithms add themselves to the AlgExecStateSvc upon initialization, but the
      Service's initialization of  the data structures is deferred until the first
      time AlgExecStateSvc::reset() is called, at which point it's probably safe to figure out
      if there's a WhiteBoard, and the number of slots to allocate.
      
       Also added an EventContext object to the MinimalEventLoopMgr,
       so that serial/concurrent behaviour is similar.
      
      Concurrent queries to the AlgExecStateSvc must contain the EventContext, so
      the correct EventSlot can be determined. Serial access is via methods that
      don't have the EventContext as a parameter. For access from Algorithm
      base class (eg from setFilterPassed, isExecuted, etc), if the EventContext
      ptr (m_event_context) in the Algorithm is null, we assume we're running
      serially.
      
      modified:   GaudiAlg/src/lib/GaudiSequencer.cpp
      modified:   GaudiAlg/src/lib/Sequencer.cpp
      modified:   GaudiCoreSvc/CMakeLists.txt
      new file:   GaudiCoreSvc/src/AlgExecStateSvc/AlgExecStateSvc.cpp
      new file:   GaudiCoreSvc/src/AlgExecStateSvc/AlgExecStateSvc.h
      modified:   GaudiCoreSvc/src/IncidentSvc/DataOnDemandSvc.cpp
      modified:   GaudiExamples/options/ROOT_IO/Write.py
      modified:   GaudiExamples/tests/qmtest/gaudiexamples.qms/jira.qms/gaudi_1174.qmt
      modified:   GaudiExamples/tests/qmtest/refs/ColorMsg.ref
      modified:   GaudiExamples/tests/qmtest/refs/History.ref
      modified:   GaudiExamples/tests/qmtest/refs/MetaDataSvc.ref
      modified:   GaudiExamples/tests/qmtest/refs/ROOT_IO/Read.ref
      modified:   GaudiExamples/tests/qmtest/refs/ROOT_IO/Write.ref
      modified:   GaudiExamples/tests/qmtest/refs/RandomNumber.ref
      modified:   GaudiExamples/tests/qmtest/refs/conditional_output/write.ref
      modified:   GaudiExamples/tests/qmtest/refs/jira/gaudi_971.ref
      modified:   GaudiHive/GaudiHive/HiveEventLoopMgr.h
      modified:   GaudiHive/GaudiHive/HiveSlimEventLoopMgr.h
      modified:   GaudiHive/options/BrunelScenarioForwardScheduler.py
      modified:   GaudiHive/options/ForwardSchedulerStall.py
      modified:   GaudiHive/src/AlgResourcePool.cpp
      modified:   GaudiHive/src/AlgoExecutionTask.cpp
      modified:   GaudiHive/src/AlgoExecutionTask.h
      modified:   GaudiHive/src/ForwardSchedulerSvc.cpp
      modified:   GaudiHive/src/ForwardSchedulerSvc.h
      modified:   GaudiHive/src/HiveEventLoopMgr.cpp
      modified:   GaudiHive/src/HiveSlimEventLoopMgr.cpp
      modified:   GaudiHive/src/ParallelSequentialSchedulerSvc.cpp
      modified:   GaudiHive/src/ParallelSequentialSchedulerSvc.h
      modified:   GaudiHive/src/RoundRobinSchedulerSvc.cpp
      modified:   GaudiHive/src/RoundRobinSchedulerSvc.h
      modified:   GaudiHive/src/SequentialSchedulerSvc.cpp
      modified:   GaudiHive/src/SequentialSchedulerSvc.h
      modified:   GaudiKernel/GaudiKernel/Algorithm.h
      modified:   GaudiKernel/GaudiKernel/EventContext.h
      new file:   GaudiKernel/GaudiKernel/IAlgExecStateSvc.h
      modified:   GaudiKernel/GaudiKernel/IAlgorithm.h
      modified:   GaudiKernel/GaudiKernel/MinimalEventLoopMgr.h
      modified:   GaudiKernel/src/Lib/Algorithm.cpp
      modified:   GaudiKernel/src/Lib/MinimalEventLoopMgr.cpp
      modified:   GaudiSvc/options/Test.opts
      modified:   GaudiSvc/tests/qmtest/refs/Test.ref
      dbf23b7c
  21. Jul 11, 2016
  22. Jul 01, 2016
  23. Mar 11, 2016
  24. Mar 09, 2016
  25. Nov 01, 2013
  26. Oct 24, 2013
  27. Dec 12, 2011
  28. Dec 02, 2011
  29. Jun 09, 2011
  30. Mar 01, 2011
  31. Jan 12, 2011
    • Marco Clemencic's avatar
      fixed bug #76395 · 42a30cbe
      Marco Clemencic authored
      Modified MyTrack and MyVertex to print the count of lost instances
      only if different from 0.
      42a30cbe
  32. Oct 22, 2009
Loading