|Anonymous | Login | Signup for a new account||2020-08-13 23:01 EDT|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000273||JANA||Feature Request||public||2012-07-31 09:04||2012-08-14 23:13|
|Summary||0000273: Add status word to JEvent|
|Description||Tracking code for GlueX ran into some memory limitations for very busy events. The solution was to put a cap on the number of track candidates it would try and process. If more than the limit appear, then all are thrown away since the event is considered unreconstructable as far as tracking is concerned.|
There needs to be a simple way for a tracking factory to indicate that it failed so other code downstream can distinguish this condition from when no track candidates are found.
To do this, JANA should implement a generic status word (32bit or 64bit) that is kept in JEvent and that the user can use to communicate this type of info efficiently. It will be left to the user to assign meaning to each of the bits. Methods to set and get bits should be available in both JEvent and JEventLoop to make it easy for factories to access the facility.
We may also want to add a facility to add a description to each of the bits to make it easy to display and even record in the header of the output file in the event that the bit assignments change. This would, however, make mixing files problematic since the descriptions in two files may not match. That could be left to the JEventSource/JEventSink implementors though.
|Tags||No tags attached.|
This fix was committed with revision 1009. It has not been tested.
One issue with this mechanism though is that the status word changes as factories are called. This means one needs to guarantee that a certain factory was called in order for a status bit to be valid.
|2012-07-31 09:04||davidl||New Issue|
|2012-08-14 23:13||davidl||Note Added: 0000426|
|2012-08-14 23:13||davidl||Status||new => resolved|
|2012-08-14 23:13||davidl||Resolution||open => fixed|
|2012-08-14 23:13||davidl||Assigned To||=> davidl|
|Copyright © 2000 - 2020 MantisBT Team|