Difference between revisions of "Producing Woutuple from AOD"

From Atlas Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Producing an Ntuple from an AOD ==
 
== Producing an Ntuple from an AOD ==
 +
 +
<b>This part is not ready yet</b>
 +
  
 
The package to produce the Ntuple from the AOD contains:
 
The package to produce the Ntuple from the AOD contains:

Revision as of 13:59, 15 September 2005

Producing an Ntuple from an AOD

This part is not ready yet


The package to produce the Ntuple from the AOD contains:

  • a clone of UserAnalysis/AnalysisSkeleton
  • a clone of AnalysisExamples/ttbar
  • the simpleTTbar class that dumps a (nearly) complete ntuple with all AOD information needed for a ttbar analysis on full simulation Monte Carlo

Setting up the package

  1. Go to the directory where you want to install the package and untar the tarball that contains the code:
tar -xzvf TTBarAnalysis.tgz

The package will appear in a subdirectory named TTBarAnalysis of the chosen directory.

  1. Go to the cmt directory: cd TTBarAnalysis/cmt
  2. Execute cmt config
  3. Execute source setup.csh
  4. Build the library: gmake

Running the package (an Ntuple from an AOD)

  1. Go to the run directory: cd ../run
  2. Link the directory containing your AODs to the input directory:
 ln -s /data/atlas/public/Rome/T1/AOD/AOD_Rome/ AOD
  1. Create the pool file catalog: All POOL files processed by Athena should be registered in the PoolFile Catalog, so import all your AODs into the catalog: pool_insertFileToCatalog AOD/*/*AOD.pool.root
  2. In the joboptions file (simpleTTbar) specify which files you want to process (EventSelector.InputCollections) and the name of the output file
  3. If not already done before, go to the cmt directory and execute source setup.csh
  4. Go to the run directory: cd /.../TTBarAnalysis/run
  5. Execute: athena.py simpleTTbar_jobOptions.py

Now an Ntuple is produced that can be analysed using the Analysis Skeleton.