Short writeup of E-EMC event display and raw hits histogramming
More details (will be) given hereTo execute binary taking to robinson-DB :
To clone and compile your own version
klog
stardev mkdir aaa cp dispsetup aaa cd aaa source dispsetup makeNote, to compile eeDisp without AFS you need additionally :
STARdb::STARdb(){ .... nodeHead= mgr->initConfig(dbTestScheme,dbEmc,"VerC"); .... }and in your ~/dbServers.xml . Below is my example:
< StDbServer> < server> onlsun1 < /server> < host> onlsun1.star.bnl.gov < /host> < port> 3310 < /port> < socket> /tmp/mysql.3310.sock < /socket> < databases> TestScheme_emc, StarDb < /databases> < /StDbServer>Two valid BD servers are: duvall:3306 (more stable) or onlsun1:3310 (development).
EEndcap:: EEndcap(){ ... nSec=6; sec=new EEsector[nSec]; for(i=0;i< nSec;i++) sec[i].setID(i+4); //for sectors #4-9 ... }
./code/eeDisp go.CNote, only the time stamp of the first event in the StEvent file is used for DB request.