This is an attempt to make GROPE work with gfortran and OpenGL.
To achieve this calls to the 3D library GPHIGS have been replaced by 3D routines
of ROOT (TPolyLine3D
etc.).
Since we want to keep graphics input
(pick, rotate) it was necessary to replace also the use of the
packages KUIP, HIGZ, HPLOT and even HBOOK by ROOT routines.
No attempt was made to write a complete emulation
of these packages but only those parts needed in GROPE or rather
only those used in GROPEs pure event display part needed
in the lab experiments.
This also gives the chance to profit from modern tools like OpenGL
and GUIs from ROOTs toolbox.
Restrictions:
By far not all GROPE commands are implemented.
This is an example of a Z0 decaying to multihadrons.
To simplify the implementation ROPEs and GROPEs FORTRAN code are not
modified except a few corrections (px116.cra, rope420.cra, sw115.cra, ww115.cra
)
to avoid compiler errors and
2 mods in rope420.cra
and grope.cra
to make life easier:
fort.4
) searching first:
working directory
and then $GROPE/data
$GROPE/fullg142.fxinit
(expand enviroment var in ROOFLX
)
(Note: after expansion name must fit in CHARACTER*80
)
If a routine needs to be replaced it is just "overwritten" in an object file linked in ahead of the libraries. In the current implementation rope420, gr313, geant321 and gopal144 are used.
libftgl.so.2.1.3 libgfortran.so.3
are available
they can be copied from a genuine 32-bit installation and are also provided here in
directory lib
2006.dfsg.2-14ubuntu2
cernlib-2006-27.el5.i386, cernlib-devel-2006-27.el5.i386,
patchy-2006-27.el5.x86_64
(only for compilation (make))
rope420, geant321, gopal144
ftolib, ytofort, whicho
source iniRopePath.sh
cd rope420 ; make clean, make
cd gopal144 ; make clean, make
make clean; make
source $GROPE/iniRopePath.sh
where $GROPE
points to the location of this distribution
grope.exe
Users at the Ubuntu Clusters at LMU (Garching and CIP)
Open a new konsole / xterm and type therein:
module load grope
grope.exe
Users at CERN or with Linux (32bit or 64bit with ia32-libs) and AFS-access to CERN (lxplus)
can do:
export GROPE=/afs/cern.ch/user/s/schaileg/public/grope_gcc41
source $GROPE/iniRopePath.sh
grope.exe
Example data files for the different even types are provided in $GROPE/data.
If you want to use your own eventfiles for Muons, Electron etc. you should set
the enviroment variables:
export MUONFILE="mymuonfile.fxddst"
export ELECTRONFILE="myelectronfile.fxddst"
export TAUFILE="mytaufile.fxddst"
export HADRONFILE="mytaufile.fxddst"
export COSMICSFILE="mycosmicsfile.fxddst"
export ANYEVENTFILE="myanyeventfile.fxddst"
An alternative way to set your own eventfiles is to use setter methods of the
class RopeCmds
accessible via the global pointer gRC
from the command line
gRC->SetElectronFile("myelectronfile.fxddst");
gRC->SetCosmicsFile("mycosmicsfile.fxddst");
etc.
These commands should be put into a file gropelogon.C
which is
executed at startup.
Hint: To pick a track/cluster and invoke its context menu use right mouse.
Hoovering mouse across a track/cluster
prints its name and momentum value.
Muenchen, 18. March 2013
Otto.Schaile@lmu.de