Skip to content

taroni/FinalStateAnalysis

 
 

Repository files navigation

FinalStateAnalysis Package Description

The Final State Analysis (FSA) package is a CMSSW analysis framework.
The package contains a complete implementatation to build a POG-approved PAT tuple, and utilities for generating plain ROOT ntuples from the PAT tuple.

Documentation: https://github.com/uwcms/FinalStateAnalysis/wiki

Automated tests:

53X PAT + Ntuple
52X PAT + Ntuple
42X PAT + Ntuple
53X Ntuple Only

Installation

Current CMSSW versions: 4_2_8_patch7 or 5_3_7.
The installation instructions are the same for both.

Get a supported CMSSW release area::

  scram pro -n MyWorkingAreaName CMSSW CMSSW_VERSION

Checkout the FinalStateAnalysis repository::

  cd MyWorkingAreaName/src
  git clone --recursive https://github.com/uwcms/FinalStateAnalysis.git

This will checkout the lastest and greatest version of the code. You might also want the HCP2012 compatible branch, if so you should additionally run:

cd FinalStateAnalysis
git checkout hcp2012

and then proceed as normal.

Checkout the needed CMSSW tags:

  cd FinalStateAnalysis/recipe/
  # You need to have CVS access
  kinit [email protected]
  # Make sure your CMSSW environment is set up
  cmsenv
  # Checkout needed packages and apply patches
  # This enables all options.  You can turn off things you don't need.
  # NB that in the hcp2012 changes the options won't do anything.
  PATPROD=1 LUMI=1 LIMITS=1 ./recipe.sh
  # Compile
  cd ../../
  scram b -j 8

You must always set up the environment::

  source FinalStateAnalysis/environment.sh

For python plotting enhancements, install the custom python virtualenv and extra packages (note this is not necessary for PAT tuple production)::

  ./install_python.sh
  yolk -l # List installed packages

About

CMS analysis framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 48.9%
  • C++ 46.0%
  • Shell 2.9%
  • C 1.8%
  • Ruby 0.4%