Difference between revisions of "CalibSegmentNtupleRecipeA 1050"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
This page gives the recipe to make Calibration Segment Ntuples (format A) with release 10.5.0 | This page gives the recipe to make Calibration Segment Ntuples (format A) with release 10.5.0 | ||
+ | |||
+ | |||
+ | * log on to ''lxplus'': | ||
+ | <font color = red> <tt>ssh <username>@lxplus.cern.ch </tt></font> | ||
+ | * create a work area (here called ''10.5.0'') | ||
+ | <font color = red><tt>mkdir 10.5.0</tt> | ||
+ | |||
+ | <tt>cd 10.5.0/</tt></font> | ||
+ | * create a ''requirements'' file which should look like this: | ||
+ | <pre> | ||
+ | set CMTSITE CERN | ||
+ | |||
+ | macro ATLAS_DIST_AREA "/afs/cern.ch/atlas/software/dist" | ||
+ | macro ATLAS_RELEASE "11.0.0" | ||
+ | |||
+ | use AtlasSettings v* $(ATLhttp://agenda.cern.ch/fullAgenda.php?ida=a057588AS_DIST_AREA) | ||
+ | |||
+ | path_remove CMTPATH ${PWD} | ||
+ | path_prepend CMTPATH ${PWD} | ||
+ | </pre> | ||
+ | * build your CMT environment: | ||
+ | <font color = red><tt>source /afs/cern.ch/sw/contrib/CMT/v1r18p20050501/mgr/setup.(c)sh</tt> | ||
+ | |||
+ | <tt>cmt config</tt> | ||
+ | |||
+ | <tt>source setup.(c)sh -tag=opt</tt></font> | ||
+ | |||
+ | * the last command line must be typed in every time you open a new terminal. 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 -r RecExCommon-version Reconstruction/RecExample/RecExCommon</tt> </font> 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'' | ||
+ | <font color = red><tt>cd Recontruction/RecExample/RecExCommon/RecExCommon-*/cmt </tt> | ||
+ | |||
+ | <tt>cmt config </tt> | ||
+ | |||
+ | <tt>source setup.(c)sh </tt> | ||
+ | |||
+ | <tt>gmake </tt> </font> | ||
+ | |||
+ | * go to the ''run'' directory and load some auxilliary libraries: | ||
+ | <font color = red><tt>cd ../run/ </tt> | ||
+ | |||
+ | <tt>source ../share/RecExCommon_links.(c)sh </tt></font> | ||
+ | |||
+ | * 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> |
Revision as of 17:09, 30 November 2005
This page gives the recipe to make Calibration Segment Ntuples (format A) with release 10.5.0
- log on to lxplus:
ssh <username>@lxplus.cern.ch
- create a work area (here called 10.5.0)
mkdir 10.5.0
cd 10.5.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* $(ATLhttp://agenda.cern.ch/fullAgenda.php?ida=a057588AS_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. 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
- 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