AOD access from ATHENA v 15

Instructions on how to run the Liverpool/Birmingham code that accesses AOD in Athena with overlap removal.

First log on to a machine with the ATHENA software (at Liverpool alpha, beta etc., up, down etc.)

Setup your cmthome directory
cd mkdir cmthome cd cmthome 

Download the file requirements and put it in cmthome:

Set up ATHENA for first time
source /batchsoft/atlas/athena/15.5.1/CMT/*/mgr/ cmt config 

Setup a work directory
cd mkdir AtlasWork15
cd AtlasWork15
mkdir 15.5.1
cd  15.5.1 

Setup ATHENA environment
source ~/cmthome/ -tag=15.5.1

Set up svn folloing the instructions to modify your .ssh/config found in

log into CERN.

/usr/kerberos/bin/kinit -5 username@CERN.CH 

Get the code
cd $TestArea 
svn co $SVNGRP/Physics/Common/BLAnalysis/BLBasic/trunk BLAnalysis/BLBasic 
svn co $SVNGRP/Physics/Common/BLAnalysis/BLUserExamples/trunk BLAnalysis/BLUserExamples
svn co $SVNGRP/Physics/Common/BLAnalysis/bl_tools/trunk BLAnalysis/bl_tools

Make version.cmt files:
cd $TestArea/BLAnalysis

[ Note: Subsequently all you need to do is setup
 source ~/cmthome/ -tag=15.5.1 

cd BLUserExamples/cmt 
cmt bro cmt config 
cmt bro gmake 
[ Note: Subsequently for most compiles you can speed things up with:
  gmake -f ../i686-slc4-gcc34-opt/BLUserExamples.make QUICK=yes 
If this doesn't work use the full compile:
 cmt bro gmake 

copy over joboption files
cd ../run 
cp ../share/*.py . 

uncomment the lines for the file lists in

e.g. for Liverpool it would be

NB if you want to run on files on the dpm you need to have a valid grid certificate and to set up ganga. At Liverpool do
source /batchsoft/atlas/grid/ -v 96:00

Run the code >& Z.out & 

Plot the results
root -b -q ../Root/runFile.C 

To find out the Geometry version of the input file use: -f  [full path to inputfile]  

and look for a line like :
       GeoAtlas                                            ATLAS-CSC-02-01-00 

To find out whats on the AOD in v15 run: filename.pool.root  

- AndrewMehta - 01 Oct 2009
Topic revision: r7 - 15 Oct 2009, AndrewMehta
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback