Skip to content

psiddire/FinalStateAnalysis

 
 

Repository files navigation

FinalStateAnalysis Package Description (miniAOD_dev version)

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

Installation

Current CMSSW version: 7_6_3.

Get a supported CMSSW release area:

  scram pro -n MyWorkingAreaName CMSSW <CMSSW_VERSION>
  cd MyWorkingAreaName/src
  # Setup your CMSSW environment
  cmsenv
  # SSH agent is optional, but will save you from typing your password many times
  eval `ssh-agent -s`
  ssh-add
  # Run this before doing ANYTHING else in src
  git cms-init

Checkout the FinalStateAnalysis repository:

  git clone --recursive -b miniAOD_dev_76X git@github.com:uwcms/FinalStateAnalysis.git
  cd FinalStateAnalysis

Checkout extra needed code:

  cd recipe/
  # Checkout needed packages and apply patches
  # do >> HZZ=1 ./recipe.sh  instead if you want H->ZZ MELA stuff.
  ./recipe.sh
  cd ..
  # Setup FSA environment
  source environment.sh
  # Compile
  pushd ..
  scram b -j 8
  popd

It is highly recommended to set up a python virtualenv with a number of nice tools:

  ./recipe/install_python.sh

The virtualenv is automatically activated by environment.sh.

You must always set up the CMSSW environment + some extra variables from FinalStateAnalysis:

  cmsenv
  source $CMSSW_BASE/src/FinalStateAnalysis/environment.sh

About

An analysis framework for the Compact Muon Solenoid

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 51.4%
  • C++ 46.1%
  • Shell 1.8%
  • Other 0.7%