Skip to content

uwcms/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

This is the first attempt to work with 2017 data. It needs improvements

Installation

Current CMSSW version: CMSSW_9_4_11_cand1.

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_9_4_0 https://github.com/uwcms/FinalStateAnalysis.git
  cd FinalStateAnalysis
  source environment.sh

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