Jaroslav's Luminosity Monitor
Edit me

shell commands

If you are using bash as your shell, you need to source the .sh scripts, if you have tcsh or csh as shell you need to source the .csh scripts. If you are not sure, use

echo $SHELL

which will tell you which is your shell (/bin/bash, /bin/csh, /bin/tcsh)

for bash use: source /cvmfs/eic.opensciencegrid.org/ecce/gcc-8.3/opt/fun4all/core/bin/ecce_setup.sh -n
for tcsh use: source /cvmfs/eic.opensciencegrid.org/ecce/gcc-8.3/opt/fun4all/core/bin/ecce_setup.csh -n
git clone https://github.com/eic/Fun4All-lmon
cd Fun4All-lmon/source
mkdir build
cd build
../autogen.sh --prefix=$HOME/myinstall
make install
for bash use: source /cvmfs/eic.opensciencegrid.org/ecce/gcc-8.3/opt/fun4all/core/bin/setup_local.sh $HOME/myinstall
for tcsh use: source /cvmfs/eic.opensciencegrid.org/ecce/gcc-8.3/opt/fun4all/core/bin/setup_local.csh $HOME/myinstall
cd ../../macros
root.exe

root commands to start the Geant4 QT Gui

.x Fun4All_G4_Lmon.C(-1)
.L DisplayOn.C
PHG4Reco *g4 = QTGui();

Geant4 commands

/Fun4All/run 1

root commands to start the root display

.x Fun4All_G4_Lmon.C(-1)
.L DisplayOn.C
PHG4Reco *g4 = DisplayOn();
Fun4AllServer *se = Fun4AllServer::instance();
se->run(1);
displaycmd();
Tags: tutorial