manTree Root Trees & Analysis Framework Release 16


The manTree package contains a set of classes for storing physics objects for final analysis. It can be used outside of athena, for example in SFrame. The code is in svn and the html descriptions of the classes can be found here. This page covers the release 16 version of the code, for release 17 please see ManTree. The recommended way to compile the package is to follow the instructions below.

Analysis Framework

In order to do a complete analysis, there are a set of packages provided by ATLAS for applying common prescriptions. These packages are made available through the TopRootCore package and we interface to these packages using the topUtils package. If you are updating from a previous version of topUtils, please see ManTreeRootCoreConvert.

First Time Setup

The following instructions should be followed to setup up & compile sframe, manTree and the common analysis packages:

Commands to be entered into the terminal start with '>'

Export CERN_USER variable:
> export CERN_USER=yourcernlxplususername

Setup root core (note this also sets up root v5.28.00):
> source /nfs/software/AtlasSoftware/RootCore/Root_v528/RootCore/scripts/

Export SVNMAN variable:
> export SVNMAN=svn+ssh://$

Go to a directory where you want to work from:
> cd somedir

Check out sframe:
> svn co SFrameArea
> cd SFrameArea

Patch sframe:
> patch core/include/SCycleBaseNTuple.icc /afs/

Build sframe:
> source ./
> make

Check out manTree packages:
> svn co $SVNMAN/SFrame/manTree/tags/manTree-00-09-08 manTree
> svn co $SVNMAN/SFrame/manTreeSFrameBase/tags/manTreeSFrameBase-02-00-05 manTreeSFrameBase
> svn co $SVNMAN/SFrame/topUtils/tags/topUtils-01-02-00 topUtils
> svn co $SVNMAN/SFrame/exampleManTreeCycle/tags/exampleManTreeCycle-00-00-02 exampleManTreeCycle

Build manTree packages:
> cd manTree
> make
> cd ../manTreeSFrameBase
> make
> cd ../topUtils
> make
> cd ../exampleManTreeCycle
> make

Make a soft link to the RootCore par file (needed for proof running):
ln -s $ROOTCOREDIR/../RootCore.par .

Setup for Each Session

Each time you start a new terminal and want to work on the analysis you need to do the following steps:

Go to your sframe directory:
> cd pathto/SFrameArea

Export CERN_USER variable:
> export CERN_USER=yourcernlxplususername

Setup root core (also sets up root v5.28):
> source /nfs/software/AtlasSoftware/RootCore/Root_v528/RootCore/scripts/

setup sframe:
> source ./

It's probably most convenient to put these commands into a script to save typing them in each time.

Running the Example Cycle

There is an example sframe cycle in exampleManTreeCycle. It can be run with the following (don't forget the setup commands):

> cd exampleManTreeCycle
> sframe_main config/TestCycle_config.xml

Making manTrees

Instructions for making manTrees are at ManTreeMaking.

manTree Samples

A list of currently available samples can be found at ManTreeSamples.

-- MarkOwen - 28-Oct-2011

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2011-10-28 - MarkOwen
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Atlas All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback