Warning, /OnlMon/README.md is written in an unsupported language. File is not indexed.
0001 # OnlMon
0002
0003
0004 [](https://web.sdcc.bnl.gov/jenkins-sphenix/job/sPHENIX/job/sPHENIX_OnlMon_MasterBranch/)
0005
0006 You need to use our online enviroment (online/Debian), not offline. Further
0007 instructions are in our wiki
0008
0009 To build it, create a build area and run
0010
0011 \<srcdir\>/autogen.sh --prefix=\<installdir\>
0012
0013 make install
0014
0015 then set ONLMON_MAIN to installdir, cd to \<srcdir\>/macros where the macros and scripts are located
0016
0017 source setup_onlmon.sh
0018
0019 (or for csh source setup_onlmon.csh)
0020
0021 ## If you use GL1 info in your monitor, you need to start the server that buffers the GL1 data and serves it to the clients
0022 eventServer -d 200000 -i -v -f <gl1_rawdatafile>
0023
0024 ## You need three sessions to run the show, two for the servers, one for the client. In the server windows start root and run the example server2:
0025
0026 root.exe
0027
0028 .x run_example_server0.C
0029
0030 and
0031
0032 root.exe
0033
0034 .x run_example_server1.C
0035
0036 run 100 events to get ths show going (otherwise your histos will be empty)
0037
0038 prun(100)
0039
0040 ## in the other start the client
0041
0042 root.exe
0043
0044 .L run_example_client.C
0045
0046 exampleDrawInit()
0047
0048 exampleDraw()
0049