Difference between revisions of "CalibSegmentNtupleRecipeB 1100"
(3 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
macro ATLAS_RELEASE "11.0.0" | macro ATLAS_RELEASE "11.0.0" | ||
− | use AtlasSettings v* $( | + | use AtlasSettings v* $(ATLAS_DIST_AREA) |
path_remove CMTPATH ${PWD} | path_remove CMTPATH ${PWD} | ||
Line 32: | Line 32: | ||
* check out all relevant MuonCalib subpackages with help of the macro | * check out all relevant MuonCalib subpackages with help of the macro | ||
<font color = red><tt> | <font color = red><tt> | ||
− | cp /afs/cern.ch/ | + | cp /afs/cern.ch/user/z/zvankest/public/MuonCalib_files/CHECKOUT.csh |
source CHECKOUT.csh | source CHECKOUT.csh | ||
Line 38: | Line 38: | ||
* this will take a while. What will take even more time, is the compilation of it all: | * this will take a while. What will take even more time, is the compilation of it all: | ||
<font color = red><tt> | <font color = red><tt> | ||
− | cp /afs/cern.ch/ | + | cp /afs/cern.ch/user/z/zvankest/public/MuonCalib_files/COMPILE.csh |
source COMPILE.csh | source COMPILE.csh | ||
Line 44: | Line 44: | ||
Now, doing reconstruction will use release 11.0.0's Moore or Muonboy and the freshly compiled MuonCalib routines. If you want to fill your ntuple with segments from ATLAS reconstructed muons check out the ''RecExCommon'' package. For other environments (such as CTB etcetera take a closer look at the [https://uimon.cern.ch/twiki/bin/view/Atlas/MuonCalibrationFramework MuonCalibrationFramework] page. | Now, doing reconstruction will use release 11.0.0's Moore or Muonboy and the freshly compiled MuonCalib routines. If you want to fill your ntuple with segments from ATLAS reconstructed muons check out the ''RecExCommon'' package. For other environments (such as CTB etcetera take a closer look at the [https://uimon.cern.ch/twiki/bin/view/Atlas/MuonCalibrationFramework MuonCalibrationFramework] page. | ||
+ | |||
<font color = red><tt>cmt co Reconstruction/RecExample/RecExCommon</tt> </font> (at head) or | <font color = red><tt>cmt co Reconstruction/RecExample/RecExCommon</tt> </font> (at head) or | ||
Line 62: | Line 63: | ||
<tt>source ../share/RecExCommon_links.(c)sh </tt></font> | <tt>source ../share/RecExCommon_links.(c)sh </tt></font> | ||
+ | (if this won't work, go to the cmt directory again and redo the<tt> source setup.csh </tt>) | ||
* now we can run Athena, provided to have the right ''jobOptions'' files. (The following command dumps the messages and writes them to the logfile.) | * now we can run Athena, provided to have the right ''jobOptions'' files. (The following command dumps the messages and writes them to the logfile.) | ||
<font color = red><tt>athena jobOptions.py | tee athena.log </tt></font> | <font color = red><tt>athena jobOptions.py | tee athena.log </tt></font> |
Latest revision as of 07:57, 7 December 2005
This recipe will run the MuonCalib package producing ntuples format B in release 11.0.0 . In absence of a working nightly or a release version which has the appropriate MuonCalib version, this is the only method available.
One should work in release 11.0.0 and check out all the relevant MuonCalib subpackages (with the right version) by hand. A macro doing this is available in Zdenko's public.
- log on to lxplus:
ssh <username>@lxplus.cern.ch
- create a work area (here called 11.0.0)
mkdir 11.0.0
cd 11.0.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.0.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.
- check out all relevant MuonCalib subpackages with help of the macro
cp /afs/cern.ch/user/z/zvankest/public/MuonCalib_files/CHECKOUT.csh
source CHECKOUT.csh
- this will take a while. What will take even more time, is the compilation of it all:
cp /afs/cern.ch/user/z/zvankest/public/MuonCalib_files/COMPILE.csh
source COMPILE.csh
Now, doing reconstruction will use release 11.0.0's Moore or Muonboy and the freshly compiled MuonCalib routines. If you want to fill your ntuple with segments from ATLAS reconstructed muons check out the RecExCommon package. For other environments (such as CTB etcetera take a closer look at the MuonCalibrationFramework page.
cmt co Reconstruction/RecExample/RecExCommon (at head) or
cmt co -r RecExCommon-version Reconstruction/RecExample/RecExCommon for your favorite version. Currently, the head version of RecExCommon fails to run quickly. A working version is for instance RecExCommon-00-04-20.
- build RecExCommon
cd Recontruction/RecExample/RecExCommon/RecExCommon-*/cmt
cmt config
source setup.(c)sh
gmake
- go to the run directory and load some auxilliary libraries:
cd ../run/
source ../share/RecExCommon_links.(c)sh
(if this won't work, go to the cmt directory again and redo the source setup.csh )
- now we can run Athena, provided to have the right jobOptions files. (The following command dumps the messages and writes them to the logfile.)
athena jobOptions.py | tee athena.log