############################ ## instructions for reproducing ## anlaytical KD and JHUGen ## numerical KD distributions ## and ROC curves. ############################ UPDATE: ** git instruction for checking out the HZZ4lME, ** currently all the other files needed are stil in cvs.. cmsrel CMSSW_5_2_5 cd CMSSW_5_2_5/src/ cmsenv git clone https://github.com/yanyangao/HZZ4lME.git CVS instructions: 1. Check out and compile the package 1) main ME code cmsrel CMSSW_5_2_5 cd CMSSW_5_2_5/src/ cmsenv cvs co -d HZZ4lME UserCode/YGao/HZZ4lME cvs co -d Higgs/Higgs_CS_and_Width UserCode/Snowball/Higgs/Higgs_CS_and_Width cp -r Higgs/Higgs_CS_and_Width/txtFiles . cd HZZ4lME/ cp /afs/cern.ch/user/y/yygao/public/libmcfm_6p6.so . make NOTE, when changing the ME input files, such as the includeVars.F90, you need to remake the library, by doing the following. make clean # absolutely needed make Instructions on getting a MCFM library is at the end of this file. 2) check out PDFs from MELA package cvs co -r V00-01-08 -d PDFs UserCode/CJLST/ZZMatrixElement/MELA/src/RooSpinTwo_7D.cc cvs co -r V00-01-08 -d PDFs UserCode/CJLST/ZZMatrixElement/MELA/src/RooSpinTwo_7D.h cvs co -r V00-01-08 -d PDFs UserCode/CJLST/ZZMatrixElement/MELA/src/RooXZsZs_5D.cc cvs co -r V00-01-08 -d PDFs UserCode/CJLST/ZZMatrixElement/MELA/src/RooXZsZs_5D.h cvs co -r V00-01-08 -d PDFs UserCode/CJLST/ZZMatrixElement/MELA/src/RooSpinOne_7D.cc cvs co -r V00-01-08 -d PDFs UserCode/CJLST/ZZMatrixElement/MELA/src/RooSpinOne_7D.h 3) Other PDFs cvs co -p UserCode/Whitbeck/snowmass2013/src/RooSpinZero_7DComplex.cc > PDFs/RooSpinZero_7DComplex.cc cvs co -p UserCode/Whitbeck/snowmass2013/src/RooSpinZero_7DComplex.h > PDFs/RooSpinZero_7DComplex.h cvs co -p UserCode/ntran/JHUGen/analysis/PDFs/RooSpinOne_Decay.cc > PDFs/RooSpinOne_Decay.cc cvs co -p UserCode/ntran/JHUGen/analysis/PDFs/RooSpinOne_Decay.h > PDFs/RooSpinOne_Decay.h cvs co -p UserCode/ntran/JHUGen/analysis/PDFs/RooSpinTwo_Decay.cc > PDFs/RooSpinTwo_Decay.cc cvs co -p UserCode/ntran/JHUGen/analysis/PDFs/RooSpinTwo_Decay.h > PDFs/RooSpinTwo_Decay.h 4) Compile code: root -l -n 2. Add ME files for the CJLST trees 1) The maco is runME_HZZ4l_FNAL.C 2) To process all the files in a given directory use the code ./processall.sh 3. Add both MELA and ME to the JHUGen angles tree These instructions are for quick studies based on ROC curves 1) Add variables root -l -n rootlogon.C .L runME_HZZ4l_JHUgenSamples.C+ // for example runME_HZZ4l_JHUgenSamples("/home/ygao/HZZME/","SMHiggsZZ_250_JHU.root","./",10000,0) runME_HZZ4l_JHUgenSamples("/home/ygao/HZZME/","TZZ_2mplus_250_JHU.root","./",10000,0) .q 2) Plot ROC curves - root -l -n MELArocCurves.C Instruction on compiling the MCFM library for MCFM 6.6 1. Download MCFM and prepare the install makefile wget http://mcfm.fnal.gov/mcfm-6.6.tar.gz tar -xf MCFM-6.6.tar.gz cd MCFM-6.6/ ./Install 2. Modify the following two lines in makefile to allow shared library to be read out FFLAGS = -fno-automatic -fno-f2c -O0 -fPIC -g -I$(INCPATH) -I$(TENSORREDDIR)/Include -Iobj F90FLAGS = -fno-automatic -fno-f2c -O2 -fPIC -g -I$(INCPATH) -Iobj -Jobj 3. compile the package and export the libarry make cd obj g++ -Wl,-soname,libmcfm_6p6.so -shared -o libmcfm_6p6.so *.o