NEXT
Make New Entry,
Make Followup Entry
User name R. Michaels
Log entry time 13:31:02 on December 7,2012
Entry number 385742
Followups:
keyword=online analyzer for LHRS (primitive)
I'm not very proud of it (b/c it's still primitive and has some
things wrong), but here is an analysis framework for LHRS.
Login to "a-onl", the online analysis account.
Type "goonlana" or "goreplay" (they are the same) to go to
the directory /adaqfs/home/a-onl/gmp/replay
Type "analyzer"
analyzer [0] .x onlana.C
answer the question about the run number
at the moment, this does 20K events (takes a few minutes)
then
analyzer [1] .x online.C+("detectorL")
and you'll get histograms like in fig 1.
--------------------------------------------------
Problems / issues
1. I'm sure that the detector map for VDCs is still wrong, but it's
somewhat close. You'll need to control this in
$DB_DIR/20121201/db_L.vdc.dat
(which is in ./DB/20121201 relative to the online directory)
with lines like
No of Crate, Slot, First, Last chans
[ L.vdc.u1 ]
4 3 0 95 U1: u1cr1, u1sl1, u1cf1, u1cl1
4 4 0 95 ~~~ u1cr2, u1sl2, u1cf2, u1cl2
4 5 0 95 u1cr3, u1sl3, u1cf3, u1cl3
4 6 0 79 u1cr4, u1sl4, u1cf4, u1cl4
2. The "Jin Huang" (J.H.) methodology with ReplayCore_C.so, etc,
was not easy for me to make work, so I'm using a more primitive
scheme. Someone else may implement the J.H. scheme ...
3. Other detector elements need to be added, and perhaps other
histograms for the VDCs. This affects the database files (contains
the detector map), as well as possibly onlana.C, LHRS.odef,
detectorL.cfg. But I hesitate to do that b/c you might decide
to go back to the J.H. methods ...
FIGURE 1