adhidevi / hamc Goto Github PK
View Code? Open in Web Editor NEWThis project forked from rwmichaels/hamc
Hall A single-arm Monte Carlo, used by parity experiments
This project forked from rwmichaels/hamc
Hall A single-arm Monte Carlo, used by parity experiments
============================================================================ hamc = Hall A Monte Carlo R. Michaels, initial version Jan 2009; updated May 2018 ============================================================================ This is a single-arm Monte Carlo used by the parity experiments in Hall A. It was used by HAPPEX-III, PVDIS, PREX, and C-REX. Some documentation about hamc is here: http://hallaweb.jlab.org/parity/prex/hamc For version control, I'm using github: https://github.com/rwmichaels/hamc A good way to proceed is to make your repository on github.com, the Fork my repository, then "git clone" it to your local PC. If you have useful changes you can make a "pull request" to me. To proceed do the following Compile: make clean make Run ./prex or ./happex (and don't forget the dot "." and slash "/") Optional argument is the number of events, like this: ./prex 1000000 Histogram output hamc.root To show some results, root hamc.root root [7] .x ./macros/show4.C (etc) I/O control of code prex.dat to control prex happex.dat to control happex You can find versions of prex*.dat in ./PREX directory. You likely want "prex_hrstrans.dat" so copy that to prex.dat in the run directory. ("cp ./PREX/prex_hrstrans.dat prex.dat") New in 2018 is the transport code THRSTrans. The old fortran code (LeRose functions) still exist but can be effectively turned off by disabling the USEFORTRAN flag in the Makefile. For THRSTrans you need the separately maintained library. You can see from the Makefile where this located grep HRSTRANS Makefile HRSTRANSLIB = /home/rom/hrstrans1/lib ALL_LIBS = $(LIBS) $(HRSTRANSLIB)/libhrstrans.so INCLUDES += -I$(HRSTRANSLIB) and you'll need to control HRSTRANSLIB. Both libhrstrans.so and the header THRSTrans.h need to be in this directory. To obtain THRSTrans, you could use my git repo for that, though in principle Seamus Riordan should be maintaining it. https://github.com/rwmichaels/hrstrans
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.