Commit Graph

29 Commits

Author SHA1 Message Date
Gordon McCann 4886c497a3 Fix bug where merged dir was not set 2023-01-16 10:30:02 -05:00
Gordon McCann c4557c2b26 Fix bug in CompassFile where m_nHits is uninitialized for CoMPASS empty (2byte) files 2023-01-14 13:16:31 -05:00
Gordon McCann 4ae9ecadac Switch to using YAML as our config saving format, integrate yaml-cpp. Switch B-field input to kG instead of G 2022-07-13 11:59:11 -04:00
Gordon McCann 935e6be0f6 Simplified file API slightly by modifying the algorithm to sort hits from files in CompassRun 2022-07-13 10:52:22 -04:00
Gordon McCann 99ce58a01c Removed obsolete RunCollector class 2022-07-13 10:31:57 -04:00
Gordon McCann 8ecfe5e3f8 Big update. Finish implementation of EVBWorkspace. Remove unnecessary includes. Note that std::filesystem clashes with ROOT GUI libs. 2022-07-13 10:26:37 -04:00
Gordon McCann 22c1647ab1 Starting to switch to std::filesystem from ROOT based solution. CURRENTLY NOT WORKING, DO NOT PULL, unless you want to contribute to the fix 2022-07-11 17:32:48 -04:00
Gordon McCann dca1b5643a Fix bug related to dictionaries on Apple, where difference in name case is ignored 2022-06-28 05:53:14 -04:00
Gordon McCann acc1ebe2fa Switch to cmake for build system for better ROOT integration 2022-06-22 15:03:49 -04:00
Gordon McCann bcba081e7d Fix OrderChecker bug 2022-06-22 13:46:57 -04:00
Gordon McCann 60970e52bb Fix bug in CompassFile. Previous edge case where channel data file was empty needed to be updated for new case where channel data file only contains the header. 2022-06-22 10:30:23 -04:00
Gordon McCann 2b00d4e80c Finish hotfix for size of test first hit 2022-05-23 09:15:24 -04:00
Gordon McCann 946c14cae3 Hotfix for wave analysis, bug in size of test first hit 2022-05-23 09:14:44 -04:00
Gordon McCann 0850f9a5e5 Preparing for changes with new CoMPASS version. Binary data format has changed, with headers now included to indicate exsitance of optional data members (i.e. short energy, cal energy, waves). Tested with small data from CoMPASS 2.01.0 2022-05-19 14:32:58 -04:00
Gordon McCann be2ff0470c Fixed bug where electron masses were subtracted twice in kinematic correction 2022-01-06 14:35:05 -05:00
Gordon McCann 3200b73313 Switched build systems to premake, more flexible at cost of some auto-finding with ROOT. Changed build process such that static lib EventBuilderCore is generated and then linked to build EventBuilder and EventBuilderGui classes. Gui dictionary is now staticly linked (undefined symbols were an issue on some platforms). Minor bugfixes. 2021-12-18 15:40:53 -05:00
Gordon McCann 8c6278217c Added progress callback system to avoid infecting evb with gui components. Switched in ROOT made file gui where possible, reorganzied main window to be prettier 2021-12-16 17:38:58 -05:00
Gordon McCann bd9e2cb520 std io replaced with spdlog, some minor cleanup here and there. 2021-12-15 17:35:31 -05:00
Gordon McCann c6213aa1ef Fixed issue with pch; in CMake do not include header, CMake force includes it. Added spdlog submodule, Logger class, beginning process of replacing all bland io with spdlog 2021-12-15 15:48:43 -05:00
Gordon McCann 04aa800c5c Added pch back, removed dumb compiler warnings for system calls, fixed some pathing on headers 2021-12-15 14:36:24 -05:00
Gordon McCann b9ed82a593 Namespace encapsulated evb with name EventBuilder 2021-12-15 12:08:12 -05:00
Gordon McCann d84f4e2fe9 Modified file structure to be CMake compatible. Switched build system to CMake 2021-12-15 11:09:58 -05:00
Gordon McCann f942ad87c0 Fixed bug in command line version where no config was loaded and nothing happened. 2021-12-14 15:56:36 -05:00
Gordon McCann a904f8c0f2 Completed style overhaul and cleaned up extraneous code. Minor mods to ChannelMap and variable mapping. 2021-12-13 17:04:44 -05:00
Gordon McCann afcdd3bb8c Code review, with a focus on enforcing style and purging extraneous code. Changed name of GWMEventBuilder to EVBApp to better reflect class intent. 2021-12-13 12:28:56 -05:00
Gordon McCann f56118606c x1 and x2 position calibrations swapped to reflect that detector planes were swapped 2021-09-10 11:12:21 -04:00
Gordon McCann 17cb297310 Bugfix to cut logic. CutHandler did not accurately reflect case of empty cutlist, and SFPPlotter did not properly handle case where cut list was not appropriately constructed. 2021-08-03 10:06:43 -04:00
Gordon McCann 1c9c97983f Fixed bug in FileViewFrame where directory was printed twice 2021-07-13 17:26:47 -04:00
Gordon McCann e9168bed2a First commit 2021-07-13 16:36:41 -04:00