MantisBT - Hall D Offline
View Issue Details
0000102Hall D OfflineGeneralpublic2011-06-27 13:452011-07-12 11:18
wolin 
wolin 
normalfeatureN/A
resolvedfixed 
0000102: Create plugin framework to generate simulated CODA-format raw event files from monte carlo input
Create a rawevent plugin framework that the DAQ group can use to generate simulated raw data files. They should not have to know anything about the JANA/DANA system, and what we give them should take care of everything other than creation of the raw data banks in the EVIO event tree that gets written to the output file. Input to their code will be the various hit banks (DTOFRawHit, DBCALHit, etc).
No tags attached.
child of 0000093resolved heyes Hall D Online DAQ-like EVIO file from simulated data 
Issue History
2011-06-27 13:45wolinNew Issue
2011-06-27 13:45wolinStatusnew => assigned
2011-06-27 13:45wolinAssigned To => wolin
2011-06-27 13:46wolinNote Added: 0000130
2011-06-27 13:46wolinStatusassigned => acknowledged
2011-06-27 13:50wolinRelationship addedchild of 0000093
2011-06-28 13:23wolinNote Added: 0000132
2011-07-11 17:28wolinNote Added: 0000141
2011-07-12 11:18wolinNote Added: 0000142
2011-07-12 11:18wolinStatusacknowledged => resolved
2011-07-12 11:18wolinResolutionopen => fixed

Notes
(0000130)
wolin   
2011-06-27 13:46   
Plugin will be called "rawevent." I am about half-way done at the moment.
(0000132)
wolin   
2011-06-28 13:23   
I'm about 85% done, still need input on how our translation tables will work. I wrote dummy routines to do the translation. Once I get some details I'll fill these routines in. Then the project can be handed over to the DAQ group.
(0000141)
wolin   
2011-07-11 17:28   
About 95% done.

Invented translation table format, filled XML fake translation table via python script. rawevent plugin reads table and translates all real hits into fake crate/slot/channel values. No table misses in 1000 events.

Last thing to do is to optimize table access since this occurs in the innermost loops.
(0000142)
wolin   
2011-07-12 11:18   
Plugin is adequate for generating simulated raw event file. It is checked into SVN.

Some improvements are planned, mainly for optimization.