W,Z D3PD analysis code in SFrame

Analysis package for di-boson studies

This is composed by different small packages:

What is SFrame?

"SFrame is supposed to be a general HEP analysis package based on ROOT trees. An analysis in HEP is often performed in cycles. Each cycle usually corresponds to a reduction, or more generally to a new treatment of the data (e.g. calculation of new quantities for each event). SFrame follows this cycle-based analysis approach by splitting an analysis in several cycles. Each cycle takes a number of ROOT trees (e.g. from different sources, like data or different MC generators) in a certain format as input and produces ROOT trees in a different output format. In addition control histograms are produced. SFrame allows the combination of multiple input ROOT trees potentially coming from different physics processes taking into account varying luminosity values to which these trees correspond. In addition, SFrame can properly handle cuts applied on MC generator level of the input trees. The output trees of a certain step are supposed to be the input trees of the next step."

Find out more on the SFrame project page: http://sourceforge.net/apps/mediawiki/sframe/index.php?title=Main_Page

What is D3PDReader ?

"The package is being developed as a blessed way of reading the ntuple files produced by the D3PDMaker code in a simple-to-use and very performant way."

Find out more on the ATLAS twiki: https://twiki.cern.ch/twiki/bin/view/AtlasProtected/D3PDMakerReader

What is WZD3PDAnalysis ?

This is where we develop analysis classes. The package is built as a user package in SFrame (see SFrame twiki)

Get the code

svn co $SVNUSR/mbellomo/analysis
cd  analysis
svn co https://sframe.svn.sourceforge.net/svnroot/sframe/SFrame/tags/SFrame-03-04-12 (check this is the latest version)

Setup and compile

For details on setup of SFframe see: http://sourceforge.net/apps/mediawiki/sframe/index.php?title=Main_Page What you need is ROOT/Python installed.

Setup and compile SFrame core library

source setup_sframe.sh (open the file and fix it depending on the your machine ROOT configuration)
cd SFrame
source setup.sh
make

Compile D3PDReader library

cd D3PDReader
make

Compile WZD3PDAnalysis package

cd WZD3PDAnalysis
make

Run the D3PD skimmer cycle

A D3PD skimmer cycle reads a D3PD and produce in output a skimmed version retaining only variables needed for W/Z analysis The configuration file can be found under WZD3PDAnalysis/config/D3PDSkimmer_config.xml (check input file configuration here) To run do:

sframe_main D3PDSkimmer_config.xml 

Run the Zmumu Tag-And-Probe cycle

Run the Zmumu Analysis cycle

Run the Wmunu Analysis cycle

Run the WZ Analysis cycle

Run the ZZ Analysis cycle

-- MassimilianoBellomo - 13-Apr-2011

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

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 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