1
0
Fork 0
mirror of https://github.com/gwm17/Mask.git synced 2024-11-22 10:18:50 -05:00
Commit Graph

66 Commits

Author SHA1 Message Date
Gordon McCann c12e649ea3
Merge pull request #3 from gwm17/devel
Overhaul input and reaction system construction. Much more streamline…
2022-09-01 09:52:58 -04:00
Gordon McCann 76ae86d595 Overhaul input and reaction system construction. Much more streamlined, now can have more sampling parameters (chained decay to excited states, etc.) 2022-09-01 09:52:09 -04:00
Gordon McCann 003ce089d9
Merge pull request #2 from gwm17/devel
Devel
2022-08-31 12:59:21 -04:00
Gordon McCann 5a8f8730f5 Fix another bug in the SABRE geometry. Tilt needs to be flipped again in calc (minus implicitly handled in equation). 2022-08-31 11:51:47 -04:00
Gordon McCann 96a9aef685 Fix a bug in SABRE where the detectors were tilted backwards. Cleanup some code 2022-08-31 10:05:13 -04:00
Gordon McCann 3565f7ae28 Fix typos in SX3 class. Change name of array classes to array rather than efficiency. Update cmake lists. 2022-08-30 15:42:49 -04:00
Gordon McCann bb67011bb5 Fix up detector geometry, make names clearer for dets and constexpr more of the geometry 2022-08-30 15:01:11 -04:00
Gordon McCann 45a80ab76f Enforce dictionary linking. Update cmake list 2022-08-30 14:19:42 -04:00
Gordon McCann 15020355a6 Fix naming convention on executables: MaskApp->Kinematics, DetectEff->Detectors. Update README 2022-08-30 10:34:16 -04:00
Gordon McCann d857ad9d4d
Merge pull request #1 from gwm17/devel
Devel
2022-08-30 07:21:41 -07:00
Gordon McCann 2c2a24fd1e Cleanup README 2022-08-29 15:24:15 -04:00
Gordon McCann 4f7bab2f26 Fix merge conflict 2022-08-29 15:22:54 -04:00
Gordon McCann 216e597c57 Clean up user input, inheritance structure. Update input.txt, README. Add in default release build 2022-08-29 15:14:55 -04:00
Gordon McCann 322e091884 Update README 2022-08-20 09:13:08 -07:00
Gordon McCann ba023b48dd Now passes intial testing, seems fully functional. Need to do some optimization tests against old way to see if actually improved anything. 2022-08-20 09:05:34 -07:00
Gordon McCann 0b7b06e4f1 Update project structure. Tighten up code, improve syntax, enforce style. Still bugged, but now working from proper environment. Switch back to ROOT as file I/O and data management 2022-08-18 10:32:48 -04:00
Gordon McCann 66900ea9b4 Update gitignore 2022-08-18 10:31:16 -04:00
Gordon McCann 9a4c308677 Remove objs dir (unused) 2022-08-16 09:52:39 -04:00
Gordon McCann 2db1022fc1 Remove obsolete premake 2022-08-16 09:51:12 -04:00
Gordon McCann 59c0dc99a7 Fix some dead channel related bugs. Preparing for a code base update. 2022-08-15 11:03:57 -04:00
Gordon McCann 0b63196077 Added catima for better energy loss calculations 2022-06-09 11:29:02 -04:00
Gordon McCann 0b2f4f74ee Remove unecessary file check 2022-06-08 15:58:17 -04:00
Gordon McCann fba17f991f update gitignore 2022-06-08 15:57:47 -04:00
Gordon McCann c4ef429d8b Switched to build with cmake rather than premake for easier ROOT integration 2022-06-08 15:51:26 -04:00
Gordon McCann 95c05cc3af Update premake 2022-06-08 15:11:05 -04:00
Gordon McCann fe770fe6ca Reorganized. Now make static lib of Mask and link to appropriate exes. 2022-06-08 15:10:35 -04:00
Gordon McCann fc9c211b6a Fix destructor 2022-06-08 15:08:09 -04:00
Gordon McCann 4754cada6f Updated gitignore 2022-06-08 15:07:20 -04:00
Gordon McCann a59cd18d9a Some updates to the SABRE detector classes. Minor refinement of RootPlot 2022-02-08 11:44:32 -05:00
Gordon McCann 736094c4e4 Fixed energy loss for case of neutron. Now returns zero (energy loss here only for ions) 2022-01-12 14:15:43 -05:00
Gordon McCann ca7ae04f23 Modified DeadChannels such that there is now a Sabre and Anasen version. Implemented in AnasenEfficiency. Small changes to StripDetector. 2021-12-06 13:19:54 -05:00
Gordon McCann 3cd32f29c4 RootPlotter now handles plotting of CM theta when appropriate for each type. A little rough, needs some cleaning up, but functional. Also, default config is now Release 2021-12-03 10:21:22 -05:00
Gordon McCann a19e17deb9 Style corrections, modified some plotting tools to handle detected energy effects. 2021-12-03 09:28:08 -05:00
Gordon McCann 2adf7c3da1 Excludes pickle files 2021-10-15 11:29:29 -04:00
Gordon McCann 3da1e83ff5 README updated 2021-10-08 16:46:59 -04:00
Gordon McCann bfbe009c30 Finally fully applied power of polymorphic systems by reducing MaskApp to a single Run function. ReactionSystems can now be queried for a vector of their data. 2021-10-08 16:20:46 -04:00
Gordon McCann 1a10000556 Modified reading in of layered target data to be more intuitive, which lead to finding and fixing a bug in the logic for handling zero thickness or zero energy EnergyLoss::GetEnergyLoss calls 2021-10-08 15:41:23 -04:00
Gordon McCann e24b949e48 Updated MaskFile data sizes to be more explict across platforms (where possible) 2021-10-08 14:37:26 -04:00
Gordon McCann d50a48190e Changed name of Kinematics class to MaskApp, better enforced use of scoped RxnType across all applications (see new RxnType.h) 2021-10-08 14:17:20 -04:00
Gordon McCann 6c21c214b4 Added Python plotting tools using matplotlib and pickle. Updated ANASEN geometry to better reflect the actual detector setup. 2021-10-08 10:56:57 -04:00
Gordon McCann 51b64e0c97 Fixed energy loss bugs, including case of backwards travel through a non-uniform target. Modified premake file to be more universally compatible for ROOT. Requires user specification of ROOT directories in the premake file. 2021-09-23 11:42:14 -04:00
Gordon McCann 850daa87d8 Fixed bug in energy loss, now correctly calculates effective charge for heavy ions. 2021-09-15 09:29:38 -04:00
Gordon McCann 1c7bf69f16 Singleton'd a random number generator class to avoid chaining a generator manually. Fixed singleton pattern for MassLookup. 2021-09-06 17:06:02 -04:00
Gordon McCann 9149a9268f Removed accidental data upload 2021-09-06 16:22:02 -04:00
Gordon McCann e96b29accf Fixed some stylistic incosistencies. Incorporated all classes used for Mask into the Mask namespace. Updated some comments. 2021-09-06 16:18:49 -04:00
Gordon McCann 170cc7afb0 Major update. Now uses a homeade file type MaskFile to save data. Separated kinematics simulation (Mask), plotting (RootPlot/python), and detector efficiency (DetectEff). Mask itself no longer depends on ROOT, only RootPlot does. 2021-09-03 17:03:41 -04:00
Gordon McCann 46eb87e65b Added base class DetectorEfficiency for all detector systems 2021-08-27 16:41:27 -04:00
Gordon McCann 673fe86db0 Updated README with premake info 2021-08-26 13:23:25 -04:00
Gordon McCann f5052dbbce Added (probable) Windows compatibility, needs testing to verify 2021-08-26 09:24:27 -04:00
Gordon McCann 0bafaa3b2e Added premake to generate makefiles to improve compatibility. Separated detector source code into a subdirectory. 2021-08-25 12:05:04 -04:00