cmsrel CMSSW_8_0_11
cd CMSSW_8_0_11/src
cmsenv
git clone git@github.com:ram1123/GEN-SIM-analyzer.git
scramv1 b -j 8
cd GEN-SIM-analyzer/GenAnalyzer
# Befor running, check the config file and comment/uncomment line for MINIAOD/LHE-GEN
cmsRun python/ConfFile_cfg.py
- Also, you need to add the input root file. If you have long list of root file then you can use the script GetListOfFile_More250files.py
- Here in the code you need to provide the path of input root files.
- Copy the output of the above code and paste it inot python/ConfFile_cfg.py
Submit job with condor job
-
To set proxy and create tarfile for your CMSSW directory:
python create_cmssw_tarfile.py
-
Then modify output root file name (or output directory) in script RunGENSIM_condor.sh and output log file name in script RunGENSIM_condor.jdl
-
Then submit condor job using command:
condor_submit RunGENSIM_condor.jdl
- Move crab files from crab directory hierchy to top directory : Move_FileToTopDirFromCrab.py
- To run cmsRun over more then 255 files: GetListOfFile_More250files.py
You can find plotting macro here.
- See the list of nevents, cross-section for all MiniAOD sampels: DataMCInfo.ini
- To print the list of available branches: run script getBranchList.py