macro ATLAS_RELEASE "4.2.0"---------------------------------------------------------------------------------------------------------------------------
path_remove CMTPATH yourpath
path_prepend CMTPATH yourpath yourpath is the your development area
1. Import the packages
Recipe: in yourpath of $CMTPATH
cmt co -r Moore-00-00-19 MuonSpectrometer/Moorenote: when the version is not specified you get the HEAD version
cmt co -r MooStatistics-00-00-19 MuonSpectrometer/Moore/MooStatistics
cmt co -r MooAlgs-00-00-19 MuonSpectrometer/Moore/MooAlgs
cmt co -r MooEvent-00-00-19 MuonSpectrometer/Moore/MooEvent
cmt co MuonSpectrometer/Moore/MooLVL2Algs
2. A few updates are needed:
Recipe:
cd (yourpath)/MuonSpectrometer/Moore/MooEvent/MooEvent-00-00-19/MooEvent3. Set up the right requirement!
cvs update -A PhiSegment.h
cvs update -A RZSegment.h
cd (yourpath)/MuonSpectrometer/Moore/Moore-00-00-19/cmtedit the requirements file, put a # in front of the line:
use MooiPat MooiPat-00-00-19 MuonSpectrometer/Moore
and add the following line:
use MooLVL2Algs MooLVL2Algs-00-00-* MuonSpectrometer/MooreAs example, I have put a copy of the Moore requirements in:
(yourpath)/MuonSpectrometer/Moore/MooLVL2Algs/MooLVL2Algs-00-00-01/share/requirements_mooreso you can directly copy this into:
(yourpath)/MuonSpectrometer/Moore/Moore-00-00-19/cmt/requirements4. Configure the packages and compile
5. Copy the necessary files to run athena
Recipe:
cd (yourpath)/TestRelease/TestRelease-*/runnote: you need to link the input data file, mu20Gev is an example using the single muon 20 GeV pt TDR data
ln -s /afs/cern.ch/atlas/offline/data/bmagatlas02.data fieldmap.dat
stagein -M /castor/cern.ch/atlas/tape/Y01345/Y01345.5.al mu20Gev
ln -sf mu20Gev ZEBRA.P
ln -s /afs/cern.ch/atlas/maxidisk/d111/gcataldi/TrigOut/trig20Gev.out Persint.out
6. Run Moore in Athena framework using
the MooLVL2Algs
Recipe: copy MooL2_jobOptions.txt
and
run
cd (yourpath)/TestRelease/TestRelease-*/run
athena MooL2_jobOptions.txt