Online/Offline software for BCAL06 beam test
August 28, 2006
Integration with JANA
The BCAL06 beam test software is being developed using JANA as a
generic framework. This is being done outside of the main GlueX
reconstruction software package which actually has very little
overlap with this test.
The source code is being kept in the Hall-D subversion repository
in the beam_tests/bcal06 directory. Instructions for checking
out and building both JANA and the bcal06 code can be found on
the Wiki under the BCAL test HOWTOs at:
http://www.jlab.org/Hall-D/software/wiki/index.php/HOWTO_documentation#HOWTO_Analyze_Data_Offline
See the online documentation for JANA here:
http://www.jlab.org/~davidl/JANA/doxygen/
The JANA manual is currently being updated (from the old DANA manual)
and will be posted to the
JANA web site when it is done.
Event Sources
Two event sources (subclasses of JEventSource) have been written
specifically for the BCAL beam test. They are both implemented as plugins.
It is hoped that they will then always be available for use with future
JANA programs.
DEventSourceET:
This source is used to read in the raw data (CODA format). It can
read either from a file or an ET(Event Transfer) system. The ET
system is used to pass events via shared memory or network socket
and so is used to montitor at "live" events coming in from the DAQ.
DEventSourceRoot_mc:
This source was written to read events from a ROOT file produced
by Rafael Hokobyan from his stand-alone GEANT simulation of the
BCAL. It will read energy deposited in each section of the BCAL
and generate ADC and TDC values for each end as well as simulated
DTrigger objects. It is primarily useful for development of
BCAL monitoring software prior to getting beam.
Reconstruction flow chart
Here is a flow chart suggesting how the BCAL reconstruction
could be structured in JANA.
The event source will provide DADC, DTDC, and DTrigger objects.
Factories exist for the DBCAL_ADCHit, DBCAL_TDCHit, DBCAL_EHit,
and DBCAL_THit factories, though their contents need to work.
Event Viewer
Work has started on a simple event viewer for the BCAL test.
A screen shot can be seen here:
|