chrispap95 / ResolutionAnalyzer

Code that performs simpleBH analysis using CMSSW produced ntuples as input.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ResolutionAnalyzer

Code that performs simpleBH analysis using CMSSW produced ntuples as input.

Introduction

Works on CMSSW_10_6_* and above. Setup an environment and clone into $CMSSW_BASE/src.

cmsrel CMSSW_11_2_0_pre2
cd CMSSW_11_2_0_pre2/src
cmsenv
git clone https://github.com/chrispap95/ResolutionAnalyzer.git
scram b
cd ResolutionAnalyzer
git checkout recoNtuples
mkdir {bin,lib,obj}
source setup.sh
make

Execute code

To execute the code

./bin/simpleBH -c scripts/simpleBH.cfg

Make sure simpleBH.cfg contains a path to valid samples.

You can view the output

root -l out.root

Use condor to submit

Beware: These instructions and scripts currently work only on the LPC cluster and contain my username. In order to use them, you have to put your username and if you are not on the LPC cluster you need to edit the code accordingly.

I strongly suggest that you setup a fresh CMSSW release in order to make Condor submissions. So, do

mkdir condorSubmissions
cd condorSubmissions
cmsrel CMSSW_11_2_0_pre2
cd CMSSW_11_2_0_pre2/src
cmsenv
git clone https://github.com/chrispap95/ResolutionAnalyzer.git
scram b

Then, prepare your CMSSW to trasfer it to the nodes by issuing

cd ResolutionAnalyzer
git checkout recoNtuples
sh prepareCondor.sh

Then, submit a job

condor_submit condor.jdl

The looper scripts condorSubmitter.sh, cfgMaker.sh and their _flat counter partners make easier the submission of multiple jobs for many energies and dead fractions.

About

Code that performs simpleBH analysis using CMSSW produced ntuples as input.


Languages

Language:C++ 86.3%Language:Shell 7.6%Language:C 2.9%Language:Makefile 2.8%Language:Python 0.4%