====== Run 2 miniAOD Ntuplizer ====== === Working with the Ntuplizer in Git === Set up CMSSW: cmsrel CMSSW_7_3_0 cd CMSSW_7_3_0/src cmsenv Fork your own version of the code [[https://github.com/thaarres/EXOVVNtuplizerRunII|here]]. Do git clone git@github.com:`git config user.github`/EXOVVNtuplizerRunII.git cd EXOVVNtuplizerRunII If you want to fetch the latest changes from the "official" version you need to add the main repository as a remote (or if you want to push to this repository as a collaborator): git remote add official_ntuplizer git@github.com:thaarres/EXOVVNtuplizerRunII check if it works: git remote -v Compile cd Ntuplizer scram b To run the code cmsRun config.py To inspect the Python configuration file interactively ipython config.py If you are a collaborator and wish to push your changes to the remote repository, but this repository has changed since you cloned the code: git fetch official_ntuplizer git merge master official_ntuplizer/master You will then be asked to resolve merge conflicts in some files if there are any. Open the files in question and merge them manually. After this is done do git add nameoffixedmergeconflictfile git commit -m "What you did" git push official_ntuplizer master (Ons! If you are a bit nervous like me and want to keep your own "unmarked" version as a backup, you can start by checking out a new "merge branch": git checkout -b mergebranch git fetch official_ntuplizer git merge mergebranch official_ntuplizer/master Fix merge conflicts, add and commit. If the merging went well and you don't need your unmarked version anymore, you can merge the new branch with the master branch and delete the new: git checkout master git merge mergebranch git branch -d mergebranch git push official_ntuplizer master ) == Submitting jobs == python submitJobsOnT3batch.py -C submitJobsOnT3batch.cfg --useDAS ===== Some links ===== * Run 2 miniAOD Ntuplizer created by J. Ruizvar for the ZZ analysis can be found [[https://github.com/cms-edbr/ExoDiBosonResonancesRun2/blob/master/EDBRTreeMaker/plugins/EDBRTreeMaker.cc|here]] * Instructions on how to get the Run 1 EXO VV Ntuplizer (Jennifers) is [[exovvrun2:oldntuplizer|here]] * The new ntuplizer for Run 2 can be found at Git:[[https://github.com/thaarres/EXOVVNtuplizerRunII|https://github.com/thaarres/EXOVVNtuplizerRunII]] * Remember to fork your own version before cloning your personal repository to your directory! ===== Resolved and unresolved issues ===== * [[exovvrun2:general|General issues]] * [[exovvrun2:74X|Migrating to 74X]]