Combined Reconstruction Recipes

From Atlas Wiki
Revision as of 12:00, 14 February 2006 by Zkestere (talk | contribs)
Jump to navigation Jump to search

Reconstruction of Cosmic muons

This Wiki gives a recipe to reconstruct cosmic muons in release 11.2.0 in three different ways:

  • MDT only
  • TileCal only
  • MDT and TileCal combined

First of all, make yourselves a working directory on afs:

  • log on to lxplus:

ssh <username>@lxplus.cern.ch

  • create a work area (here called 11.2.0)

mkdir 11.2.0

cd 11.2.0/

  • create a requirements file which should look like this:
set          CMTSITE          CERN

macro        ATLAS_DIST_AREA  "/afs/cern.ch/atlas/software/dist"
macro        ATLAS_RELEASE    "11.2.0"

use          AtlasSettings v* $(ATLAS_DIST_AREA)

path_remove  CMTPATH          ${PWD}
path_prepend CMTPATH          ${PWD}
  • build your CMT environment:

source /afs/cern.ch/sw/contrib/CMT/v1r18p20050501/mgr/setup.(c)sh

cmt config

source setup.(c)sh -tag=opt

  • the last command line must be typed in every time you open a new terminal.

Reconstruction with MDTs

In your working directory, check out the following packages:

cmt co -r MuonSegmentMakerAlgs-00-00-00 MuonSpectrometer/MuonRecAlgs/MuonSegmentMakerAlgs

cmt co -r MdtDriftCircleOnTrackCreator-00-00-03 MuonSpectrometer/MuonRecTools/MdtDriftCircleOnTrackCreator

cmt co -r MdtCalibSvc-01-03-15 MuonSpectrometer/MuonCalib/MdtCalib/MdtCalibSvc

cmt co -r MuonCommExample-00-00-03 MuonSpectrometer/MuonCommissioning/MuonCommExample

cmt co -r MuonCommExample-00-00-08 MuonSpectrometer/MuonCommissioning/MuonCommExample

Compile the first four packages:

cd MuonSpectrometer/MuonRecAlgs/MuonSegmentMakerAlgs/MuonSegmentMakerAlgs-00-00-00/cmt/

source setup.csh

gmake


cd -

cd MuonSpectrometer/MuonCalib/MdtCalib/MdtCalibSvc/MdtCalibSvc-01-03-15/cmt/

source setup.csh

gmake


cd -

cd MuonSpectrometer/MuonRecTools/MdtDriftCircleOnTrackCreator/MdtDriftCircleOnTrackCreator-00-00-03/cmt/

source setup.csh

gmake


cd -

cd MuonSpectrometer/MuonCommissioning/MuonCommExample/MuonCommExample-00-00-03/cmt/

Before compiling MuonCommExample-00-00-03 one should update the electronics-map with the latest version:

cp ../../MuonCommExample-00-00-08/share/Sector13EleMap_test.data ../share/.

source setup.csh

gmake

Go the the run directory and obtain the necessary jobOptions and a (cosmics-specific) rt-relation file:

cd ../run

get_files -jo MuonCosmicsTest_jobOptions.py

cp ~kluit/public/myjoboptions_muonsonly.py .

cp ~kluit/public/DC2_rt_dbSvc.dat .

In the current jobOptions the run is taken over the 'fixed' datasamples. Reading them directly from CASTOR is problematic, it is recommended to copy them to the run directory and rename them in their original name:

rfcp /castor/cern.ch/atlas/P1commisioning/muon/raw/combined/daq_EB-RCD_MDT-Tile_0001007_file01-fixed.data daq_EB-RCD_MDT-Tile_0001007_file01.data

From this point, Athena should run without problems. athena myjoboptions_muonsonly.py