Skip to content
Snippets Groups Projects
  1. Jun 16, 2021
  2. May 02, 2021
  3. Sep 25, 2020
  4. Sep 24, 2020
  5. Aug 05, 2020
  6. Jun 13, 2019
  7. Oct 08, 2018
  8. Aug 08, 2018
  9. Mar 01, 2018
  10. Feb 12, 2018
  11. Sep 01, 2017
  12. Aug 23, 2017
  13. Jun 06, 2017
  14. Jun 05, 2017
  15. May 18, 2017
  16. May 17, 2017
  17. Oct 29, 2016
  18. Aug 12, 2016
  19. Jul 08, 2016
  20. Jul 03, 2016
    • Peter Sherwood's avatar
      Fix for high CPU usage · e77dccc7
      Peter Sherwood authored
      In the move to using shared pointers to transoprt QPointF objects
      from the TRP_TPData buffers to the TRP_Trend buffers, the call to
      TRP_Trend::deletePoints moved made from TRP_Trend::updatePoints was
      remoed. This method not only deleted the old bare pointers, but also
      cleared the deque. Without this the deque inceased in size with
      each new update. The CPU usage increased due to the sort ofof the deque.
  21. Jun 28, 2016
  22. Jun 27, 2016
    • Peter Sherwood's avatar
      main.cpp · 20860bee
      Peter Sherwood authored
      Disinstalling ROOT Signal handlers moved here from TRP_RootFileReader.
      
      trp_mainwindow.cpp
      Add protection against root files having no branches, which caused
      the use to be present with an inescapable set of dialog boxes.
      
      trp_mainwindow.h
      Reordered attributes of tabDataStruct
      decalred new methods forhandle user requests to read a root file
      originating from the GUI file menu
      
      trp_rootfilereader.cpp
      removed installing of new signal handlers. Removal of the ROOT
      handlers moved to main()
      
      trp_tablepage.h
      removed the include of trp_mainpage.h - this creared a circular
      dependance as trp_tablepage.h includes trp_tablepage.h
      Supplied the QT includes necessary after removing the include of  trp_mainpage.h
      20860bee
    • Peter Sherwood's avatar
  23. Jun 26, 2016
  24. Jun 24, 2016
    • Peter Sherwood's avatar
      prepend all attribute names of TRP_MainWindow with "m_" · 4a7ce3b0
      Peter Sherwood authored
      In preparation for breaking up the very large methods.
      
      shift/trp_mainwindow.cpp
      shift/trp_mainwindow.h
      4a7ce3b0
    • Peter Sherwood's avatar
      Removed debug output · 65d8c2f1
      Peter Sherwood authored
      65d8c2f1
    • Peter Sherwood's avatar
      Added missing signals to TRP_TPData. Then mostly code clean up. · d442acdf
      Peter Sherwood authored
      ChangeLog
      
      cmt/requirements
      add build for code to run progress bars
      
      plot/trp_trend.cpp
      plot/trp_trend.h
      add operators to output TRP Trend objects to ostream
      
      shift/trp_base_model.cpp
      shift/trp_base_model.h
      add operators to output TRP_BaseModel objects to ostream
      
      shift/trp_chain_model.cpp
      shift/trp_chain_model.h
      code reformating. Rename attributes names that refered to threads
      to ones that refer to tpDataContainer
      
      shift/trp_config.cpp
      shift/trp_config.h
      add operators to output TRP_Config::Trend objects to ostream
      
      shift/trp_isthread.cpp
      shift/trp_isthread.h
      removed commented out code. Moved some implmentation code from the header
      to the cpp files. Temporarily added debug print statements.
      
      shift/trp_mainwindow.cpp
      shift/trp_mainwindow.h
      prefixed some attribute names with "m_" to facilitate reading the code.
      Added a second progress bar when reading root files. Added comments
      Added temporary print statements.
      
      shift/trp_model.cpp
      shift/trp_model.h
      Added 'm_' to attribute names to improve code readability.
      Changed attribute names that refer to "thread" to ones that refer
      to tpData (time point data)
      
      shift/trp_rootfilereader.cpp
      shift/trp_rootfilereader.h
      Change signal handler to allow ^C to kill the process. Added comments.
      Added a second progress bar the first is for branches, the second is
      for items (looking at the code, it would seem a more correct
      terminology would be trees and branches). Reading in the HLT branches(?)
      takes a very long time and gives the impression the program has hung.
      Added temporary print statements.
      
      shift/trp_table.cpp
      shift/trp_table.h
      Add "m_" to some of the attribute names to improve code readability.
      Add output operators for TRP_Table.
      Made some methods noexcept.
      Made copy constructor, assignment operators public and delete.
      Added code comments. Added temporary debug statements.Removed
      commented out code. Reformatted some code.
      
      shift/trp_tablepage.cpp
      shift/trp_tablepage.h
      As for trp_table.
      
      shift/trp_tpdata.cpp
      shift/trp_tpdata.h
      Code formatting. Pass bool flag "historyEnabled" to the construtor.
      Added output operators for TRP_TPData, and other debug toString
      functions. Added signals to inform Model classes are informed that
      data has arrived, and gui table formatting can be done.
      
      shift/trp_unique_timepoints.cpp
      added code comments.
      d442acdf
  25. Jun 20, 2016
  26. Jun 18, 2016
    • Peter Sherwood's avatar
      Stop using shared pointers for TRP_TPData objects. Fix deletes. · 99aef302
      Peter Sherwood authored
      Because TRP_TPData uses signals/slots, it needs to inherit from
      QObject. Passing a shared_ptr<TRP_TPData> to a function that requires
      a QObject* does not work, so revert back to using bare pointers. The lifetime
      of the TRP_TPObjects is currently the lifetime of the process.
      
      Fixed a minor problem initializing for loops in TRP_Trend that was causing
      compiler warnings. MAde the getSummary() method of TRP_TPData more useful.
      Moved the progress bar pop up for root file reading into its own code.
      Refactores the code in TRP_MainWindow around the root file reading to be
      more compact and readable.
      99aef302
  27. Jun 16, 2016
  28. Jun 15, 2016
  29. Jun 13, 2016
Loading