Commit Graph

57 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 ccd31cda52
Merge pull request #4 from sesps/devel
Merge devel. Add better workspace handling, some minor API refactor
2022-10-24 14:35:05 -04:00
Gordon McCann 51d97d1755
Merge branch 'main' into devel 2022-10-24 14:34:54 -04:00
Gordon McCann 4c5a67f401
Update README.md 2022-10-24 14:32:21 -04:00
Gordon McCann 20f03b1383 Remove horribly outdated example directory 2022-10-01 22:24:14 -04:00
Gordon McCann feaf525488 Update README, gitignore 2022-10-01 22:21:25 -04:00
Gordon McCann 34c3a06012 Remove outdated input format 2022-07-13 13:21:20 -04: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 af0228fac9 Fix a few typos and old stuff in README 2022-07-11 15:05:44 -04:00
Gordon McCann 93c8f6f5df
Merge pull request #3 from sesps/devel
Update to new CoMPASS binary format (ver > 2.0) and switch to more compatible cmake build system
2022-06-30 13:02:44 -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 d4ebec49d7
Fix orderchecker bug 2022-06-22 16:15:47 -04:00
Gordon McCann 30fdf9a1cb Update README 2022-06-22 16:03:00 -04:00
Gordon McCann 5f8dc06509 Finish updating README 2022-06-22 15:16:44 -04:00
Gordon McCann 6f9ce36c44 Updating README 2022-06-22 15:13:32 -04:00
Gordon McCann 63991ab124
Remove old lib dir 2022-06-22 15:09:20 -04:00
Gordon McCann d4f5f49b7f
Remove old include dir 2022-06-22 15:08:50 -04:00
Gordon McCann 66984fe6ed Remove test message 2022-06-22 15:07:53 -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 1dc9a47a11
Merge pull request #1 from sesps/main
Merging license
2022-04-29 16:05:24 -04:00
Gordon McCann 44fc676fa2
Merge branch 'devel' into main 2022-04-29 16:05:11 -04:00
Gordon McCann edf25adcab
Fixed double subtraction of electron masses in FP_kinematics 2022-01-28 14:09:07 -05: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 220dae97b8 Updated README to instruct on how to set ROOT paths 2021-12-18 16:00:53 -05:00
Gordon McCann 9ad7b20249 Updated README to reflect change to Premake 2021-12-18 15:54:55 -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 2365316c26 Forgot to add static libraries to ignore 2021-12-18 15:38:36 -05:00
Gordon McCann a4d6843ae2 Updating gitignore in preparation for switch to premake build system 2021-12-18 15:34:55 -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 c044eed7cb
Adding license to repo 2021-12-15 14:44:03 -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 1c6addb941 Modified README to reflect CMake install instructions 2021-12-15 11:31:49 -05:00
Gordon McCann b83374ea32 Removed accidental build commit 2021-12-15 11:15:26 -05:00
Gordon McCann 004ccb2fbc Modified gitignore to ignore CMake build directory 2021-12-15 11:13:52 -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