https://jskim.web.cern.ch/jskim/SKFlat/Manual/Manual_SKFlat.pdf
cp setup_tmp.sh setup.sh
Edit and Run setup.sh :
export SKFlatLogEmail='' # <- put your email address here
. setup.sh ## you should do this for every pane of tmux again and again
Making libraries
make clean
make
Everytime when using new shell,
source setup.sh
# If in KNU, need proxy
# voms-proxy-init --voms cms -valid 24:00
##############################################################################################################
SKFlat.py -a ExampleRun -i DYJets -n 50 &
cd script/MakeCycleSkeleton/
Edit MakeCycleSkeleton.py :
cyclename = "" # <- put new Analyzer name
Then, run
python MakeCycleSkeleton.py
It will print below lines :
mv NewAnalyzer.h $SKFlat_WD/Analyzers/include/
mv NewAnalyzer.C $SKFlat_WD/Analyzers/src/
Then, add
#pragma link C++ class NewAnalyzer+;
in Analyzers/include/Analyzers_LinkDef.h
Look Analyzers/src/ExampleRun.C
To get your forked repo from this one
push "Fork" button on the right-top side of this web page
Go to you forked repo webpage and copy the address of it, then clone
How to update your forked repo to follow the original repository
git remote add upstream https://github.com/CMSSNU/SKFlatAnalyzer
git fetch upstream
git pull upstream master