Content of this distribution
The tarball grope.tgz
contains the following directories:
-
build
the above mentioned interface / replacements routines
More detailed description see below
-
bin
the 32 bit binary grope.exe
-
cernlib32
sym link to 32 bit cernlibs
(e.g. /usr/lib/cernlib/2006/
)
Must be adjusted to your enviroment
A tarball with the needed libs (2006 edition) is provided (see above)
-
root32
sym link to 32 bit root installation
Must be adjusted to your enviroment
A tarball with the latest edition (5.34.03) is provided (see above)
-
geant (->geant321)
Makefile , car, cra, lib, src
-
gopal (->gopal14)
Makefile , car, cra, lib, src
-
rope (->rope420)
Makefile , car, cra, lib, src
-
lib
libgfortran.so.3, libftgl.so.2
(only needed on 64 bit Ubuntu)
-
data
-
sample data files (
fxddst
) from OPAL with
preselected events (multihadron, electron, muon, tau, cosmic)
constants and bank documentation files
-
fort.4
default FFREAD cards e.g.
$GROPE/data/p62electron.fxddst
Caveat:
We are in the old FORTRAN world, $GROPE
must not
get longer than 50 chars, since the complete
FFREAD card must fit in CHARACTER*80
-
OPAL and OD Primer
-
opal.C
:
The OPAL detector geometry as defined in GOPAL
converted by g2root
using ROOTs TGeom
package.
(This does not belong to GROPE, its added for convenience)
In a root session you can do:
.L opal.C
opal("XY") // xy View
opal("BOX") // View from 30., 30 degree with a box cut out
Files in top dir:
-
iniRopePath.sh
set PATH and LD_LIBRARY_PATH for building and running
Note: Entries might depend on the local installation paths
and may need to be adjusted
-
Makefile
compiles routines in build directory and links grope.exe
Description of interface / replacement routines in build
The following routines in the "build" dir to achieve the above
described replacements of GPHIGS etc (see also Makefile) :
-
grope.f
GROPEs main program generated from grope.cra
In SUBROUTINE USINIT
the file with FFREAD cards
is explicitly opened either:
$PWD/fort.4
or
$GROPE/data/fort.4
-
dislan.F
OPAL uses a special routine for the Landau distribution
-
finame.o
This is only to help the linker, it is extracted from libfi607.a
-
evget_dummy.F
A dummy for access to OPAL data on no longer existing SHIFT
-
for2c.f
Interface C++ -> FORTRAN to overcome e.g. the difference of
represention of char strings
Intercept the output routine "odpbkx"
: print block
Intercept the HIGZ routine "Query locator
"
-
gphigs2root.cxx
Replacement of GPHIGS, mostly dummies
-
kuip2root.cxx
Replacement of KUIP
-
higz2root.cxx
Replacement of HIGZ, HPLOT, HBOOK
-
ropecmds.cxx
A user interface based on ROOT and CINT
It may be used as pure commandline tool
or from the menus implemented with a toolbox
from the Marabou project (TGMrbValuesAndText
)
-
init.cxx
Initialize root and the main canvas for the event display
Provide a simple command button interface a la KUIP
-
TPol3D.cxx
This simple class is the key element for the replacement of GPHIGS;
It is a TPolyLine3D
with 4 additional field values:
-
the structure number of the graphics element given by GROPE (
popst_
)
-
the pick identifier
-
the name given by
OD
+ track/cluster number (e.g. OD__CTRK_3
)
-
title = name + momentum value
This implements the functionality of Pick:
-
Hoovering the mouse pointer across a track or cluster prints its name + momentum value
-
Right mouse gives a context menu allowing e.g. fully documented printout of
track parameters.
-
TGMrbValuesAndText.cxx
A general purpose routine to simplify building a user interface
with input fields, comboboxes, checkbuttons etc. from the
Marabou project (http://www.bl.physik.uni-muenchen.de/marabou/html/).