PAT Validation How-To
Overview
- This page explains how to install and run the PAT validation package.
Installation in CMSSW_3_1_1
To check out and compile the package do:
mkdir PATVALIDATION
cd PATVALIDATION
cmsrel CMSSW_3_1_1
cd CMSSW_3_1_1/src
cmsenv
cvs co Validation/PhysicsTools
scram b
Producing the benchmark plots
-
cd
Validation/PhysicsTools/test
directory:
- Either edit
benchmark_cfg.py
to replace the suitable reco root file or run it as it is, first using the default root file present.
- Produce the root file with benchmark histograms by doing the following (from the
test
directory) :
cmsRun benchmark_cfg.py
- You get the output file
benchmark.root
. This root file has a directory with names of different physics object. Each of them is further divided into a PAT
and a RECO
directory containing PAT
and RECO
plots that have identical names. The next step is to overlay the plots. For this do
source validation.sh
This produces the following directories in the
test
directory :
ELECTRONS
,
PHOTONS
,
MUONS
,
JETS
,
TAUS
,
MET
. One can copy each of these directories straight to a public html area and the plots are visible. The solid colour histograms ( red for electrons, for example) represents the
RECO
variables whereas the solid bold black histogram represent the
PAT
variables. Each object has a different colour for
RECO
variables but the same solid dark black histogram for the
PAT
variables. I am still working on getting the right templates but the names of the histograms plotted are in the order of what exists in, for example,
captions_electrons.electrons
text file in the
test
directory.
To run the validation of each seperately you can use the following scripts in the
test
directory
validation_electrons.sh
validation_METs.sh
validation_photons.sh
validation_taus.sh
validation_jets.sh
validation_muons.sh
Captions for the plots
The caption for the plots is set in the files
captions_*****.captions
files where
*****
can be
electrons
,
jets
etc.
Responsible:
Sudhir Malik