https://jskim.web.cern.ch/jskim/SKFlat/Manual/Manual_SKFlat.pdf
TAMSA 1/2 : /data6/Users/$USER/
KISTI : ~/ # home directory
KNU : ~/scartch/
#### When first time gie clone, use the option "--recursive" to initiate the submodules
git clone --recursive git@github.com:CMSSNU/SKFlatAnalyzer.git
#### add your remote repo
git remote add <nickname> git@github.com:<gitaccount>/SKFlatAnalyzer.git
git checkout <your working branch>
#### First time setup script
source bin/FirstTimeSetup.sh
#### You have to edit user info
#### First, copy the temply using the command below
cp $SKFlat_WD/python/UserInfo_template.py $SKFlat_WD/python/UserInfo_${USER}.py
#### Then, edit $SKFlat_WD/python/UserInfo_${USER}.py
#### Now, run setup script.
#### This should be done for every new shell
source setup.sh
Compile
make clean
make
SKFlat.py -a ExampleRun -i DYJets -n 50 -y 2016 &
cd script/MakeCycleSkeleton/
Then, run
python MakeCycleSkeleton.py NewAnalyzer # <- put new analyzer name
It will print below lines (execute the 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
Start from the CMSSNU's master branch of CMSSNU when making pull request to prevent anoying conflicts.