This repository will contain the MAT hist creation and analysis codes
utilities/ useful utililties for analysis
here is how to build CCQEMAT using the new MAT
setup root, CVSROOT and get the MAT code installed using the documentation in github.com/MinervaExpt/MAT-MINERvA
pro tip - if you are not on a machine with cvmfs, find a place to put flux and weight files and add
-DFLUX_FILE_DIR=<location of flux files> to your cmake command
that avoids duplicating 2GB of files locally
then...
export WHEREMIPUTMYCODE=<directory where MAT code is>
source $WHEREIPUTMYCODE/opt/build/setup.sh
# now get the CCQEMAT code
cd $WHEREMIPUTMYCODE
git clone https://github.com/MinervaExpt/CCQENu
export CCQEMAT=$WHEREIPUTMYCODE/CCQENu/make_hists
# on mac's you need to:
export DYLD_LIBRARY_PATH=${PLOTUTILSROOT}
or
source $CCQEMAT/setup_osx.sh #on osx
source $CCQEMAT/setup_unx.sh #on unix
If you get json related errors install jsoncpp on your machine or on fnal machines. I think you can get this with conda
export JSONCPP_DIR=/minerva/app/users/schellma/LocalApps/jsoncpp-build
cd $CCQEMAT
# I haven't figured out how to do Andrew style builds yet so this builds on the source directory. But there is a MAT compatible cmake now.
cmake mat # for older versions
make
cmake v_08 # for the new version 8 with multiple signal components for Sean
Note - the old build against cvs PlotUtils is in directory build. you can find how to modify an old cmake file to this setup by doing diff build/CMakelist.txt mat/CMakelist.txt