Difference between revisions of "Producing Woutuple from AOD"
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
== Running the package (an Ntuple from an AOD) == | == Running the package (an Ntuple from an AOD) == | ||
− | # Go to the run directory: <tt>cd | + | # Go to the run directory: <tt>cd /TTBarAnalysis/run</tt> |
# Link the directory containing your AODs to the input directory: | # Link the directory containing your AODs to the input directory: | ||
<tt>ln -s /data/atlas/public/Rome/T1/AOD/AOD_Rome/ AOD</tt> | <tt>ln -s /data/atlas/public/Rome/T1/AOD/AOD_Rome/ AOD</tt> | ||
− | # Create the pool file catalog: All POOL files processed by Athena should be registered in the PoolFile Catalog | + | # Create the pool file catalog: |
− | # In the joboptions file ( | + | All POOL files processed by Athena should be registered in the PoolFile Catalog. Easiest is to register ALL your AODs into the catalog: <tt>pool_insertFileToCatalog AOD/*/*AOD.pool.root</tt> |
+ | # In the joboptions file (simpleTTbar_joboptions.py): | ||
+ | a)Specify which files you want to process using EventSelector.InputCollections and b)Enter the filename of the Ntuple that will be produced | ||
# If not already done before, go to the <tt>cmt</tt> directory and execute <tt>source setup.csh</tt> | # If not already done before, go to the <tt>cmt</tt> directory and execute <tt>source setup.csh</tt> | ||
− | # Go to the run directory: <tt>cd | + | # Go to the run directory: <tt>cd /TTBarAnalysis/run</tt> |
# Execute: <tt>athena.py simpleTTbar_jobOptions.py</tt> | # Execute: <tt>athena.py simpleTTbar_jobOptions.py</tt> | ||
− | + | An Ntuple is produced that can be analysed using the Analysis Skeleton. |
Revision as of 09:57, 18 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
- 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.
- Go to the cmt directory: cd TTBarAnalysis/cmt
- Execute cmt config
- Execute source setup.csh
- Build the library: gmake
Running the package (an Ntuple from an AOD)
- Go to the run directory: cd /TTBarAnalysis/run
- Link the directory containing your AODs to the input directory:
ln -s /data/atlas/public/Rome/T1/AOD/AOD_Rome/ AOD
- Create the pool file catalog:
All POOL files processed by Athena should be registered in the PoolFile Catalog. Easiest is to register ALL your AODs into the catalog: pool_insertFileToCatalog AOD/*/*AOD.pool.root
- In the joboptions file (simpleTTbar_joboptions.py):
a)Specify which files you want to process using EventSelector.InputCollections and b)Enter the filename of the Ntuple that will be produced
- If not already done before, go to the cmt directory and execute source setup.csh
- Go to the run directory: cd /TTBarAnalysis/run
- Execute: athena.py simpleTTbar_jobOptions.py
An Ntuple is produced that can be analysed using the Analysis Skeleton.