Saclay group MinitreeFitter: make workspace and dataset for Hgg analysis
replace username in the following by your actual git user name
- Fork MinitreeFitter in https://github.com/fcouderc/MinitreeFitter (icon in the top right of the web page)
- Go to a lxplus machine (SLC6 but SLC5 should work just as good)
- Download MinitreeFitter:
- git clone git@github.com:username/MiniTreeFitter MiniTreeFitter
- cd MiniTreeFitter
- source etc/scripts/setup.sh
- make -j 4
- add your remote fork working directory
- git remote add minitreeFork https://github.com/fcouderc/MinitreeFitter
- some help
- MiniTreeFitter --help
git is managing everything locally, once you are happy with a snapshot of your work, push it to github so others can use it
- committing (you have to add file to commit list of changes)
- git add /// files or dirs that have been changed and that you want to commit
- git commit -m "message" /// commit what was added
- git status /// check the status of the snapshot
- git remote -v /// gets the info of the remote github dir, useful to get the ALIAS of these directories /// (the first name is probably origin, second one is probably minitreeFork)
- git push ALIAS BRANCH (to push your snapshot, BRANCH probably master)
- fetching from remote dir or pull (pull will fetch from remote and merge in your local git):
- git fetch ALIAS BRANCH
- git pull ALIAS BRANCH
- ask for a pull request:
- git push origin master
- ask for pull request on the web
always do setup before anything
- source etc/scripts/setup.sh
- MiniTreeFitter -d /afs/cern.ch/work/f/fcouderc/public/minitreeFitterExample/cic