1
0
Fork 0
mirror of https://github.com/gwm17/Mask.git synced 2024-11-26 12:08:52 -05:00
Commit Graph

55 Commits

Author SHA1 Message Date
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
Gordon McCann c5ff59a242 Added a modifier option to the plotter to allow for separation of identical particles 2021-08-24 15:41:09 -04:00
Gordon McCann a30bfa2555 Fixed the ReactionSystem inheritance. ReactionSystem is now abstract, added DeacySystem and OneStepSystem. 2021-08-24 11:55:32 -04:00
Gordon McCann 87aa3dba8a Major overhaul. Fixed bugs in decay angular distribution, now classed. Added ANASEN geometry. Minor bugfixes throughout. Added center of mass switch for main reaction (better randomization where ejectile is not fixed in theta). 2021-08-23 10:00:36 -04:00
Gordon McCann 87bde213ba Removed gsl dependence for compatibility with NRB machines. Added in homeade legendre polynomials. Updated README to reflect 2021-06-08 09:58:24 -04:00
Gordon McCann f90cc7e326 Added some more robust efficiency features to sabre efficiency 2021-05-04 16:20:32 -04:00
Gordon McCann 58c6aa51d1 Added several key new features. Dead channels are now implemented in a text file in etc. Decays can now have an angular distribution based on inputed l values. New dependancy: gsl 2021-04-12 10:22:35 -04:00
Gordon McCann 5785c0535b Changed executable name 2021-03-16 09:46:29 -04:00
Gordon McCann 27712396c6 fixed merge conflicts 2021-03-10 15:19:20 -05:00
Gordon McCann f80eb25144 Added deadlayer considerations to SabreEfficiency, fleshed out cross products 2021-03-10 15:00:35 -05:00
Gordon McCann 4ccaabb534 Some commenting added 2021-02-13 17:38:38 -05:00
Gordon McCann dc7f3923ed Fixed bug in target thickness calc, where angle through target was incorrectly used for energy loss 2021-02-13 17:35:29 -05:00