1. Copy and
edit the cmt requirement
file
in $HOME, the value of the following variables has to be modified:
macro ATLAS_RELEASE "X.Y.Z" where X.Y.Z is the wanted Atlas release
path_remove CMTPATH yourpath
path_prepend CMTPATH yourpath yourpath is the your development area
2. Set
up CMT version (ONCE except if CMT version is changed)
Recipe: in $HOME
source /afs/cern.ch/sw/contrib/CMT/v1r12p20020606/mgr/setup.[c]sh
cmt config
3. Set up CMT (at each login and each time
that $HOME/requirements is changed)
Recipe: in $HOME
source setup.[c]sh4. Import the packages
cmt co TestReleasenote: when the version is not specified you get the HEAD version
cmt co MuonSpectrometer/Moore
cmt co MuonSpectrometer/Moore/MooStatistics
cmt co MuonSpectrometer/Moore/MooAlgs
cmt co MuonSpectrometer/Moore/MooEvent
5. Configure the packages and compile
Recipe:
cd (yourpath)/TestRelease/TestRelease-*/cmt6. Copy the necessary files to run athena
cp ../../../MuonSpectrometer/Moore/Moore-*/share/TestRelease_requirements requirements
cmt broadcast cmt config
source setup.[c]sh
cmt broadcast gmake
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
7. Run Moore in Athena framework
cd (yourpath)/TestRelease/TestRelease-*/runsee also http://atlassw1.phy.bnl.gov/lxr/source/atlas/MuonSpectrometer/Moore/README
athena Moore_jobOptions.txt