Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to run it you need a few packages that is used:

ROOT

Root is needed.

GRL
phansson@pcphuat27]/u1/phansson/jetmetbtag% svn co svn+ssh://phansson@svn.cern.ch/reps/atlasoff/DataQuality/GoodRunsLists/tags/GoodRunsLists-00-00-84 GoodRunsLists

...

In order to run on the example you need a ntuple. This example runs on ntuples in e.g.an ntuple:
/u1/data/user09.DavidWilkinsMiller.trigger.v02.SethCaughron.misal1_mc12.EnhancedBias_1031.digit.RDO.v13004004_AANT_PHCOPY_SLIM/
If you run on pcphuat27 then you don't need to manipulate the filelists as described below: user.bcbutler.susySlim11.v1.simple_Bb_B200_L100_herwigpp_susy.merge.NTUP_SUSY.e636_s933_s946_r1831_r1700_p364/

Make sure you manipulate the filelist: 

  1. Open flatana/filelist/filelist.txt and change the path (top line) and directory/path name to match your own paths.
  2. e.g.: change top line-> "/u1/data/"
  3. find the line: "BbB200L100.susy011      1.0             13.0                            usr/p/phansson/data/user.bcbutler.susySlim11.v1.simple_Bb_B200_L100_herwigpp_susy.merge.NTUP_SUSY.e636_s933_s946_r1831_r1700_p364/" 
  4. And change it to: "BbB200L100.susy011      1.0             13.0                            user.bcbutler.susySlim11.v1.simple_Bb_B200_L100_herwigpp_susy.merge.NTUP_SUSY.e636_s933_s946_r1831_r17\
    BbB200L100.susy011      1.0             13.0                            user.bcbutler.susySlim11.v1.simple_Bb_B200_L100_herwigpp_susy.merge.NTUP_SUSY.e636_s933_s946_r1831_r1700_p364/"

All the needed compilations are done automatically in the main root macro ana.C.

unmigrated-wiki-markup
Wiki Markup
There is an example in the {{topologies/example/}} directory to start from:
{{\[\]}}{{/u1/phansson/jetmetbtag% cd flatana/trunk/topologies/examplejetmetbtag}}

The analysis class {{ Topology_cutflow can be run with:

Wiki Markup
\[phansson@pcphuat27\]/u1/phansson/temp/flatana_test/% cd FlatAna/trunk/topologies/jetmetbtag        

Wiki Markup
\[phansson@pcphuat27\]l2rate}} is already scheduled to be run with the analysis script {{ana.sh}}. To run 10 events the example and create some plots do:
{{\[\]}}{{/u1/phansson/jetmetbtagtemp/flatana_test/FlatAna/trunk/topologies/example% ./ana.sh example 10}}jetmetbtag% root \-l        

Wiki Markup
root \[0\] .L ana.C

Wiki Markup
root \[1\] ana("cutflow","BbB200L100.susy011",100)

This should produce root files containing some basic histograms and a log file with event statistics. Have a look at the next section to get more info on what was going on and how to use a generic ntuple.

...