TopCommonSelection

Introduction

In order to get everything running you have to check out your desired packages from a number of repositories as they are develeloped by different persons.

Have a look at the AvailablePackages to see which ones are available. On that page you should also find instructions on how to check-out the trunk of each package.

Pasting the following lines to your terminal should get you the recommended packages.

kinit cwasicki@CERN.CH #please put in your name here
mkdir -p CommonAnalysis/Release
cd CommonAnalysis/Release

Then check out a release:

and change directory

cd TopCommonSelection

After checking-out you have to setup ROOT (recommended 5.26+) and SFrame:

Set up the SFrame environment (except for TopCommonSelection-00-00-01):

source setup.sh 

This has to be done in every new shell one uses the framework.

Make sure you compile everything afterwards:

source make-all.sh

To run the example (gives you a few histograms with cutflow and selection plots):

cd Top/CommonSelection/config
sframe_main TopCommonSelection_config.xml #or

Usually this reproduces the one file cutflows given here (otherwise make sure that the file you run on is mc. The extended cut flow on this page can be reproduced by sending one of the jobOptions from the share folder to the batch system (Please make sure to adjust all path in the jobOption), e.g.:

cd ..
mkdir run
cd run
mkdir tmp/out
python -u ../scripts/submitSFrame.py -j ../share/jobOptions_mc_cf.py  

TopResoAnalysis

To read the TTree in the output root file from TopCommonSelection one can use (besides simple root macros) the TopResoAnalysis package:

svn co svn+ssh://svn.cern.ch/reps/desyatfw/CommonAnalysis/Release/TopResoAnalysis/trunk TopResoAnalysis
cd TopResoAnalysis
source setup.sh
source make-all.sh
cd Top/ResoAnalysis/config
#edit TopResoAnalysis.xml to read your input file
sframe_main TopResoAnalysis.xml

There is also a python macro in the plots directory to create histogram comparison plots.

Former Analysis

Cut flow

Tags

Analysis 1035.25 pb-1, check out TopCommonSelection-00-00-03

svn co svn+ssh://svn.cern.ch/reps/desyatfw/CommonAnalysis/Release/TopCommonSelection/tags/TopCommonSelection-00-00-03 TopCommonSelection

ATLAS: Projects/TopPhysicsInternal/AnalysisFramework/Quickstart (last edited 2012-07-30 14:25:05 by ChristophWasicki)