Sicb splitting status report - PowerPoint PPT Presentation

About This Presentation
Title:

Sicb splitting status report

Description:

the following environment variables are set: CMTROOT = $SOFTWARE/CMT/v1r2/mgr ... Work with simecal. getpack simecal v1. source $HOME/mycmt/simecal/v1/mgr/setup.csh ... – PowerPoint PPT presentation

Number of Views:24
Avg rating:3.0/5.0
Slides: 12
Provided by: Ranj46
Category:

less

Transcript and Presenter's Notes

Title: Sicb splitting status report


1
Sicb splitting status report
  • Reorganisation of the code
  • each subdirectory is a package
  • include files
  • include files shared by several packages are
    localized in low level packages
  • Finclude/inc, Futio/utio, Futil/util,
    detdes/detdes, events/events
  • include file name should be prefixed with
  • inc/, utio/, util/, detdes/, events/ respectively
  • source code and private include files in a src/
  • package_name/version_no/src
  • makefile in a mgr/
  • package_name/version_no/mgr

2
List of packages
  • Utility packages
  • Finclude contains all include files needed by
    Gaudi
  • branches inc mgr
  • the old inc some cb.inc files
  • Futio contains all routines used by Gaudi
  • branches util src mgr
  • use Finclude
  • Futil contains utility routines but geometry
  • branches util src mgr
  • use Futio
  • Event loop package
  • events manages the initialization and the event
    loop
  • branches events sbase rbase mgr
  • use Futil

3
List of packages(2)
  • Detector description package
  • detdes contains the old utgeom files
  • branches detdes src mgr
  • use Futil, Futio
  • Simulation packages
  • simecal, simhcal, simmuon, simrich, simvdet,
    simwtra, simguse,simskel
  • branches src mgr
  • use detdes, events
  • simgeom
  • use detdes
  • branches src, mgr
  • simpgen
  • use events
  • branches src, mgr

4
List of packages(3)
  • Reconstruction packages
  • rececal, recmuon, recvdet, recwtra
  • use detdes
  • rechcal
  • use detdes, rececal, events
  • recrich
  • use detdes, events
  • Trigger packages
  • trielec
  • use detdes, events
  • trihadr, trimuon, trivert, trilvl2, trit1tr,
    triskel, trit0v
  • use detdes

5
List of packages(4)
  • Analysis packages
  • axreclib
  • use detdes, Futil
  • axacc
  • use reclib
  • axtrkfit
  • use reclib
  • General packages
  • kalman
  • use detdes
  • SICB contains the main program
  • uses all packages

6
Detector manager
  • /simecal/v1/mgr/requirements
  • package simecal
  • version v1
  • branches doc src mgr
  • use detdes v1
  • use events v1
  • library simecal ../src/.F
  • macro simecal_linkopts \ SIMECALROOT/(simeca
    l_tag)/libsimecal.a
  • macro simecal_stamps \ SIMECALROOT/(simecal_t
    ag)/simecal_stamp

7
SICB manager
  • package SICB
  • version v116
  • branches src mgr doc task1 task2
  • use simecal v1
  • use simhcal v1
  • -----
  • use Futio v1
  • application sicb.exe ../src/sicb.exe ../task1/.F
  • macro SICB_linkopts GUSER \ HP-UX
    GUSER -Wl,n\ HPdbx -g
    GUSER -Wl,n\ OSF1 GUSER
    SICBROOT/(sicb_tag)/libSICB.a\ OSFdbx
    -g GUSER SICBROOT/(sicb_tag)/libSICB
    .a

8
How to use it?
  • At login time CMT is configured and
    HOME/mycmtis created if it does not exist
  • source LHCBHOME/scripts/CMT.csh
  • the following environment variables are set
  • CMTROOT SOFTWARE/CMT/v1r2/mgr
  • CMTPATH HOME/mycmtSOFTWARE/LHCbCMT
  • CMTCONFIG rs_aix42 or hp_ux102 or .
  • To get the SICB package under HOME/mycmt
  • getpack SICB v116
  • then
  • source HOME/mycmt/SICB/v116/mgr/setup.csh
  • SICBROOT HOME/mycmt/SICB/v116
  • SICBCONFIG CMTCONFIG

9
How to build an application
  • cd SICBROOT/mgr
  • edit requirements to select task1 or task2 or
    your own code
  • cmt genmake (to build the makefile)
  • sicb116.exe is built
  • gmake
  • ../SICBCONFIG/sicb116.exe is built
  • cd ..
  • edit sicb.dat or sicb.cards
  • SICBCONFIG/sicb.exe
  • to build an application using libraries in debug
    mode
  • cd SICBROOT/mgr
  • gmake tagAIXdbx or HPdbx or Linuxdbx or OSFdbx
  • cd ..
  • AIXdbx/sicb.exe or HPdbx/sicb.exe or
    Linuxdbx/sicb.exe ...

10
How to modify a package
  • Work with simecal
  • getpack simecal v1
  • source HOME/mycmt/simecal/v1/mgr/setup.csh
  • SIMECALROOT and SIMECALCONFIG are defined
  • cd SIMECALROOT/src
  • to modify some routines
  • cd ../mgr
  • cmt genmake (if new routines added or new use
    packages)
  • simecal.make is rebuilt
  • gmake or gmakeAIXdbx (or HPdbx or Linuxdbx)
  • ../SIMECALCONFIG/libsimecal.a or
    ../AIXdbx/libsimecal.a is rebuilt

11
How to modify a package (2)
  • build an application with new simecal library
  • cd SICBROOT/mgr
  • cmt show uses
  • to check that the new simecal library is used
  • gmake or gmake tagAIXdbx (or HPdbx or Linuxdbx)
  • cd ..
  • Edit data cards if necessary
  • SICBCONFIG/sicb.exe
Write a Comment
User Comments (0)
About PowerShow.com