Using PHENIX Event Display


First LessonsRCF EnvironmentEvaluationEvent DisplayUseful Links
PYTHIAHIJINGPISARESPORECONANO

Based on a mail from Youngil, here are very preliminary instructions to run the event display on DCH+PAD+MUT+MUI detectors. I tried that and it worked. I ( Raphael ) just add some red comments.

Oct.1 : Warning, the data prdf file has been removed, find another one !


1. log into one of the rcas machine.

2. source /opt/phenix/bin/phenix_setup.csh
It works with new.4 of 28 sep 01, not with the pro rebuilt because the macros have the track module changes

3. mkdir CVS_DISPLAY

4. cd CVS_DISPLAY

5. cvs checkout offline/display
( You need to checkout display/muiddisplay module at least ).

6. cd offline/display/muiddisplay
and edit PhMuiEventDisplayBuilder.cc
( example is in /phenix/workarea/ykwon/CVS_DISPLAY/offline/
display/muiddisplay ).
You NEED to change that one, otherwise it won't run. The only thing you have to do is comment a bunch of lines related to GEANE info. My advice is : copy this file from Yougil's directory or mine
>cp /phenix/workarea/raphael/Sources/offline/display/muidisplay/PhMuiEventDisplayBuilder.cc .


7. cd ../../
( PWD = .../CVS_DISPLAY/offline )
and
mkdir build; cd build

8. We build the modules.
The order is very important !
/phenix/workarea/ykwon/CVS_DISPLAY/offline/display/phdisplay/autogen.sh
--prefix=/phenix/workarea/ykwon/CVS_DISPLAY/offline/install
make; make install
/phenix/workarea/ykwon/CVS_DISPLAY/offline/display/phgui/autogen.sh
--prefix=/phenix/workarea/ykwon/CVS_DISPLAY/offline/install
make; make install
/phenix/workarea/ykwon/CVS_DISPLAY/offline/display/dchdisplay/autogen.sh
--prefix=/phenix/workarea/ykwon/CVS_DISPLAY/offline/install
make; make install
/phenix/workarea/ykwon/CVS_DISPLAY/offline/display/paddisplay/autogen.sh
--prefix=/phenix/workarea/ykwon/CVS_DISPLAY/offline/install
make; make install
/phenix/workarea/ykwon/CVS_DISPLAY/offline/display/tecdisplay/autogen.sh
--prefix=/phenix/workarea/ykwon/CVS_DISPLAY/offline/install
You don't really need tec for now, it is commented in the macros

make; make install
/phenix/workarea/ykwon/CVS_DISPLAY/offline/display/muidisplay/autogen.sh
--prefix=/phenix/workarea/ykwon/CVS_DISPLAY/offline/install
make; make install
/phenix/workarea/ykwon/CVS_DISPLAY/offline/display/mutdisplay/autogen.sh
--prefix=/phenix/workarea/ykwon/CVS_DISPLAY/offline/install
make; make install

9. We generate work directory.
cd ../..
PWD = ...CVS_DISPLAY
mkdir wrk; cd wrk
lndir /phenix/workarea/ykwon/JJIA_DISPLAY/wrk .
Soft link to a working environnement, and macros. Data file pointing to : /phenix/data13/eventdata_2001/EVENTDATAxxx_P01-0000027846-0000.PRDF
Oct.1 : this file has been removed, find another one !


10. cp setup.com my_setup.com
And edit my_setup.com for your situation ( namely change
/phenix/workarea/ykwon/JJIA_DISPLAY/install/lib as in
/phenix/workarea/ykwon/CVS_DISPLAY/offline/install/lib ).
Then execute
source my_setup.com

11. run root
root
root [0] .x monitorInitOneByOne.C
root [1] .x monitorOneByOne.C
root [2] .x monitorOneByOne.C
root [3] .x monitorOneByOne.C

You need to run ".x monitorOneByOne.C" instead of "Next" button.
First event is empty.

Note 1 : I gave some try to some of the display functionnality (not fast from afar) and crash from time to time in a seg fault...

Note 2 : lot's of work to be done to make it easier, convenient, and working under preco...


Page maintained by Raphaël / Last modified: Tue Dec 25 15:08:51 EST 2001