Difference between revisions of "Running ttbar package"

From Atlas Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
== Setting up my ttbar analysis package ==
 
== Setting up my ttbar analysis package ==
  
For the moment my analysis package only contains a clone of <tt>UserAnalysis/AnalysisSkeleton</tt> and <tt>AnalysisExamples/ttbar</tt> (WVE - 21/03/05)  (This section needs to be followed once.)
+
The analysis package only contains  
 +
* a clone of <tt>UserAnalysis/AnalysisSkeleton</tt>
 +
* a clone of <tt>AnalysisExamples/ttbar</tt>  
 +
* the <tt>simpleTTbar</tt> class that dumps a (nearly) complete ntuple with all AOD information needed for a ttbar analysis on full simulation Monte Carlo
  
 
# Go to the directory where you want to install the package. The package will appear in a subdirectory named <tt>TTBarAnalysis</tt> of the chosen directory. If you have run the previous examples then <tt>PhysicsAnalaysis/AnalysisCommon</tt> may be good place, but you can also just put it in <tt>/project/atlas/users/<userid>/ttbar</tt>.
 
# Go to the directory where you want to install the package. The package will appear in a subdirectory named <tt>TTBarAnalysis</tt> of the chosen directory. If you have run the previous examples then <tt>PhysicsAnalaysis/AnalysisCommon</tt> may be good place, but you can also just put it in <tt>/project/atlas/users/<userid>/ttbar</tt>.
Line 11: Line 14:
 
# Go to the run directory: <tt>cd ../run</tt>
 
# Go to the run directory: <tt>cd ../run</tt>
 
# Execute <tt>get_files PDGTABLE.MeV</tt>. This file needs to be present in your run directory for Athena to work.
 
# Execute <tt>get_files PDGTABLE.MeV</tt>. This file needs to be present in your run directory for Athena to work.
# Link to the ttbar input directory: <tt>ln -s /project/atlas/users/ivov/Rome_project/MCatNLO/AOD AOD</tt>
+
# Link to the ttbar input directory: <tt>ln -s /project/atlas/users/verkerke/RomeData/recov10/4100 AOD</tt>
# Create the pool file catalog: <tt>pool_insertFileToCatalog AOD/*AOD.pool.root</tt>
+
# Create the pool file catalog: <tt>pool_insertFileToCatalog AOD/*/*AOD.pool.root</tt>
  
 
== Running my ttbar analysis package ==
 
== Running my ttbar analysis package ==
Line 18: Line 21:
 
#If not already done, goto the <tt>cmt</tt> directory and execute <tt>source setup.csh</tt>
 
#If not already done, goto the <tt>cmt</tt> directory and execute <tt>source setup.csh</tt>
 
#Go to the  run directory: <tt>cd /.../TTBarAnalysis/run</tt>
 
#Go to the  run directory: <tt>cd /.../TTBarAnalysis/run</tt>
#Execute: <tt>athena.py myttbar_jobOptions.py</tt>
+
#Execute: <tt>athena.py simpleTTbar_jobOptions.py</tt>

Revision as of 23:09, 9 May 2005

Setting up my ttbar analysis package

The analysis package only 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
  1. Go to the directory where you want to install the package. The package will appear in a subdirectory named TTBarAnalysis of the chosen directory. If you have run the previous examples then PhysicsAnalaysis/AnalysisCommon may be good place, but you can also just put it in /project/atlas/users/<userid>/ttbar.
  2. Check out the TTBarAnalysis package from the NIKHEF/ATLAS CVS repository: cvs -d/project/atlas/cvs co TTBarAnalysis
  3. Go to the cmt directory: cd TTBarAnalysis/cmt
  4. Execute cmt config
  5. Execute source setup.csh
  6. Build the library: gmake
  7. Go to the run directory: cd ../run
  8. Execute get_files PDGTABLE.MeV. This file needs to be present in your run directory for Athena to work.
  9. Link to the ttbar input directory: ln -s /project/atlas/users/verkerke/RomeData/recov10/4100 AOD
  10. Create the pool file catalog: pool_insertFileToCatalog AOD/*/*AOD.pool.root

Running my ttbar analysis package

  1. If not already done, goto the cmt directory and execute source setup.csh
  2. Go to the run directory: cd /.../TTBarAnalysis/run
  3. Execute: athena.py simpleTTbar_jobOptions.py