TWiki> ATLAS Web>HiggsBb (revision 3) Edit Raw edit Attach Print version


Documenting the setup of Higgsbb analysis code used by cern.

An overview of the software framework can be found here.

Running Mode

The code can be run in two different modes. Locally or using PROOF(Parallel ROOT Facility). PROOF allows analysis of a large number of ROOT files in parallel using multiple machines or processor cores.

Running Locally

Code Checkout

The code can be checked out from the correct repository by doing:

mkdir myVH_research
cd myVH_research
svn co svn+ssh://

Note: you may want to set up kerberos first.(I did not require the GSSAPITrustDNS yes line).

Compiling And Using The Code

(Note: for more complete instructions see the README file in the trunk subdirectory)

To setup the environment:

cd myVH_research/ElectroweakBosons/trunk
source scripts/

This will setup the required environment variables, the Gnu C++ compiler and ROOTCORE.

To download and compile and extra software required do

cd SFrame
cd ..

Next compile the software by doing


(You can also clean up by doing make clean and make distclean)

For the purposes of analysing H->bb decays the code is stored in the AnalysisWZorHbb/ directory.We now need to compile this code before we can do the analysis.

cd AnalysisWZorHbb

Now we can run our analysis by doing sframe_main config/WZorHbb_config_mc_nu_2011.xml for example. The .xml file is where the input files and settings are all defined(e.g. what corrections to apply to the data) and can be modified or written to suit the needs of the analysis.

(Note: every time you open a shell to run the code you need to do steps 1 and 3 again. i.e. setup the environment and make the code.)

Producing Plots

The output from running sframe is stored in .root files as common ntuples. To produce plots from these output files we need to use HistMaker by doing

cd macros

to make the required code. To run the code we use the command

./RunHistMaker  <path to config file> <runMJ> <path to files output by sframe> <output directory>      -- explain better?

This will output a .root file containing histograms.

Edit | Attach | Print version | History: r32 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2012-10-10 - PaulMullen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback