Skip to content

Pu chi2

Andrea Marini edited this page Mar 7, 2017 · 2 revisions

##chi^2 plots first produce the pileup targets:

cd NeroProducer/Nero/scripts
# edit and run (JSON ...) 
source pu-chi2.sh

run over the ntuples to produce the histogram. Edit it to change selection. This is long. It May crash.

python pu-validation.py -L 35687 -l -1 -b

options are:

-L LUMI -l (limit on MC entries to run faster. 1e6 should be enough)

plot the chi-square:

python pu-chi2.py [-s]

-s : mc normalized to data.

Clone this wiki locally