FullHadronAnalysisFramework

Prerequisites

You should use root version 5.34 or above. I used 5.34.04 when I wrote this. The input format for the analysis are the FHD3PDs which are a slimmed/skimmed version of the official TopD3PDs. You do NOT NEED RootCore or TopRootCore to run the code. The data and MC files are located on the grid and also replicated to MPPMU_LOCALGROUPDISK in Garching. The only machines where (at the moment) the analysis code runs out of the box are the SLC5 mppuiN.t2.rzg.mpg.de machines. A root version at MPI that supports dcache access from (ubuntu based) local desktop machines is under testing (I tried it successfully) and will be deployed shortly. If you want to run on lxplus or any other machine you need to make sure the input files are available.

Getting the code

The analysis code is locate in my svn area. You can get it by typing
svn co svn+ssh://svn.cern.ch/reps/atlasusr/wildauer/FullHadronic/FullHadronicAnalysis/trunk FullHadronicAnalysis
For the moment we work with trunk but as the analysis evolves and gets more mature we will tag certain versions.

Compiling the code

To compile the code just type (don't forget to setup root before):
make
After that you will end up with an executable called FHAnalysisExe.exe.

Running the code

As as first start you can just type ./FHAnalysisExe.exe to run the code. At the time of writing the code will by default run over a signal MC file and produce an example canvas with some plots. There are a few input parameters to steer the code (this list might get larger). You can type
./FHAnalysisExe.exe -usage
to see the list.

  • -dataMC: default is MC, type -dataMC data when you run on data (I will automate this because it knows from the file if it is MC or not ...)
  • -inFile: type the name of an input file after wards
  • -inFileTxt: type the name of a text file which holds the path to input files. The input files have to be comma separated (because this is the grid default with prun, we should also support line separated input)
  • -outFile: here you can specify an output file to hold histograms or variables from the input ntuple or new variables for the output ntuple (this is disabled for now, but would work if enabled)

Two input file lists for the v1 production are located in the analysis framework in the directory FileLists. You can use them to run on full signal MC and data from period A to G (12/fb).

To run over MC:

./FHAnalysisExe.exe -inFileTxt FileLists/mc12_8TeV.105204.McAtNloJimmy_AUET2CT10_ttbar_allhad.v1.txt
To run over data:
./FHAnalysisExe.exe -inFileTxt FileLists/data12_8TeV.periodAtoG.physics_JetTauEtmiss.v1.txt -dataMC data

When running on data you will get many set branch status errors because it tries to set the MC branches. This is harmless. If I find some time I will fix it.

Content of the analysis package

There are 4 files/classes in the package
  • physics.h/.C ... this is the base class to read the ntuple. It was created with root MakeClass mechanism and should not be edited.
  • FHAnalysisLoop.h/.C ... inherits from physics and implements the actual event loop. It can access all variables of the ntuple directly. At the moment most of what we do ends up in there. Over time this will be messy and we will make this more modular.
  • FHAnalysisExe.C ... the top level file implementing the main() method. It deals with the input and processes the command line arguements.
  • TopReco.h/.C ... this is a helper class to reconstruct the tops. As the analysis gets more complex we will create more of these helpers for all sort of tasks.

More info

For more info you can also checkout the talks I gave in the MPP hadronic top analysis meetings:
Meeting on 23 January 2013
Meeting on 11 January 2013
Edit | Attach | Watch | Print version | History: r34 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2013-01-23 - AndreasWildauer
 
    • 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-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback