Difference between revisions of "Combined Reconstruction Recipes"
Line 111: | Line 111: | ||
</font> | </font> | ||
− | + | From this point, Athena should run without problems. | |
<font color = red> | <font color = red> |
Revision as of 09:52, 16 February 2006
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
Reconstruction with the Tile Calorimeter
This part is inspired from the recipe provided at TileMobiDAQReconstruction page. To do reconstruction with the TileCal only, one should check out the Reconstruction Example (starting from your working space):
cmt co -r TileRecEx-00-00-04 TileCalorimeter/TileExample/TileRecEx
and compile the package:
cd TileCalorimeter/TileExample/TileRecEx/TileRecEx-00-00-04/cmt
source setup.csh
gmake
One can run the reconstruction from the MuonCommExample/run directory, provided with again the necessary jobOptions:
cd -
cd MuonSpectrometer/MuonCommissioning/MuonCommExample/*/run
cp ~kluit/public/jobOptions_TileMobiCosmic.py .
get_files -jo TileMobiCosmicMap_jobOptions.py
cd ../cmt
source setup.csh
cmt bro gmake
Running the jobOptions makes a directory in run called tile in which the JiveXML files are stored, as well as some root files.
athena jobOptions_TileMobiCosmic.py
Reconstruction with both MDT and TileCal
With all the packages in place, the following jobOptions does the combined reconstruction (starting from the run directory of MuonCommExample): cp ~kluit/public/combjoboptions.py .
First, we have to make the comb directory manually to store the JiveXMLfiles in:
mkdir comb
athena combjoboptions.py