How to run the mass production for UL - GhentAnalysis/heavyNeutrino GitHub Wiki

IMPORTANT BEFORE STARTING:

For ntuple production, you will need the latest corrections. Since they are linked to existing github projects, you should always do a fresh install of the framework with the setup script. To do this, open a fresh terminal where you are not in any existing cmsenv and start the install in the directory of your choice.

Setting your github environment

At the moment you need a github account to be able to use the setup script. If you do not have a github account yet, you can make one here: https://github.com/

When you have an account, log into one of the m-machines and set your github environment:
ssh -X -o ServerAliveInterval=100 <username>@mlong.iihe.ac.be
git config --global user.name "Your name here"
git config --global user.email "[email protected]"

Getting a grid certificate

In order to make use of our ntuplizing services, you will need a grid certificate in order to access central samples and make use of the CRAB service. Fortunately the admins of the Belgian Tier 2 cluster have provided you with a handy list of steps to follow to get your own grid certificate: https://t2bwiki.iihe.ac.be/Getting_a_certificate_for_the_T2

Getting the setup

For fresh production you should always get a new working setup, so you will first need to run the setup command:
wget https://raw.githubusercontent.com/GhentAnalysis/heavyNeutrino/UL_master/setup.sh
source setup.sh
voms-proxy-init --voms cms

Testing your setup

cd multilep/test
cmsRun multilep.py
If the test successfully ran over all 100 events, you are now the proud owner of your very own functional HeavyNeutrino NTuplizer: UL edition. Congratulations!

Submitting jobs to crab

If you have not yet navigated to "multilep/test", do so now.
The submitAll.py script is responsible for submitting all jobs automatically and can be run using:
python submitAll.py <sample list>

NOTE: If you're submitting a full list this might take a while, so you might want to run this in a screen session

The sample lists to be used are:

  • MC

    • sampleLists/singlelepton_MC_2016_ULpreVFPv5.txt
    • sampleLists/singlelepton_MC_2016_ULpostVFPv5.txt
    • sampleLists/singlelepton_MC_2017_ULv5.txt
    • sampleLists/singlelepton_MC_2018_ULv5.txt
  • Data

    • sampleLists/singlelepton_data_UL2016.txt
    • sampleLists/singlelepton_data_UL2017.txt
    • sampleLists/singlelepton_data_UL2018.txt
⚠️ **GitHub.com Fallback** ⚠️