| ICP
    1
    | 
#include <event_store.h>

| Public Member Functions | |
| ISISRAWEventSource (ISISRAW *iraw, int source_id, time_t run_start) | |
| virtual | ~ISISRAWEventSource () | 
| uint32_t | getNewEvents (isisU32_t *buffer, uint32_t maxlen, uint64_t &num_unread, bool &run_ended, DAEstatus &status) | 
| uint64_t | nNewEventWords (DAEstatus &status) | 
| void | updateDAEEventLastRead (DAEstatus &status) | 
| int | eventSourceID () const | 
| const int * | getDAE2SpecMap () | 
| void | setLastAddressRead (isisU32_t addr) | 
| isisU32_t | getLastAddressRead () | 
| void | readInfo (EventStore::FileEventSourceInfo &info) | 
|  Public Member Functions inherited from FileEventSourceBase | |
| virtual | ~FileEventSourceBase () | 
| Private Member Functions | |
| int | readEvents (isisU32_t *buffer, uint32_t max_num_to_read, uint64_t &num_unread) | 
| int | getFrame (uint32_t event_count) | 
| find out what frame to put event number event_count into - first frame is 0  More... | |
| int | sendHeader (isisU32_t *buffer, int current_frame) | 
| std::string | loggingPrefix () const | 
| Private Attributes | |
| uint32_t | m_events | 
| total events to send  More... | |
| int | m_source_id | 
| ISISRAW * | m_file | 
| int * | m_spec_lookup | 
| int * | m_card_lookup | 
| uint32_t | m_events_sent | 
| events sent to date  More... | |
| uint32_t | m_pos | 
| current location in raw data  More... | |
| uint32_t | m_pos_sent | 
| number of events sent from pos  More... | |
| float | m_good_ua | 
| int | m_good_frames | 
| int | m_last_frame | 
| time_t | m_run_start | 
| std::vector< int > | m_frame_events | 
| Additional Inherited Members | |
|  Protected Member Functions inherited from ISIS::Base | |
| Base (const std::string &logger_name="UNKNOWN") | |
| void | setLoggerName (const std::string &logger_name) | 
| virtual | ~Base () | 
| void | setThisLoggerLevel (int level) | 
|  Static Protected Member Functions inherited from ISIS::Base | |
| static void | setAllLoggerLevel (int level) | 
|  Protected Attributes inherited from ISIS::Base | |
| Poco::Logger * | m_logger | 
| Poco::LogStream * | m_logstr | 
| Poco::Mutex | m_logger_lock | 
Definition at line 268 of file event_store.h.
| ISISRAWEventSource::ISISRAWEventSource | ( | ISISRAW * | iraw, | 
| int | source_id, | ||
| time_t | run_start | ||
| ) | 
Definition at line 884 of file event_store.cpp.
References ISISRAW::crat, ISISRAW::dat1, getFrame(), ISISRAW::i_det, LOGSTR_INFORMATION, m_card_lookup, m_events, m_file, m_frame_events, m_good_frames, m_good_ua, m_run_start, m_source_id, m_spec_lookup, RPB_STRUCT::r_gd_prtn_chrg, RPB_STRUCT::r_goodfrm, ISISRAW::rpb, ISIS::Base::setLoggerName(), ISISRAW::spec, ISISRAW::t_nper, ISISRAW::t_nsp1, and ISISRAW::t_ntc1.
| 
 | virtual | 
Definition at line 955 of file event_store.cpp.
| 
 | virtual | 
| 
 | virtual | 
Implements DAEEventSource.
Definition at line 989 of file event_store.cpp.
| 
 | private | 
find out what frame to put event number event_count into - first frame is 0
Definition at line 1076 of file event_store.cpp.
References m_events, and m_good_frames.
Referenced by ISISRAWEventSource(), and readEvents().
| 
 | virtual | 
Implements DAEEventSource.
Definition at line 994 of file event_store.cpp.
| 
 | virtual | 
Implements DAEEventSource.
Definition at line 959 of file event_store.cpp.
References nNewEventWords(), and readEvents().
| 
 | inlineprivatevirtual | 
Reimplemented from ISIS::Base.
Definition at line 300 of file event_store.h.
References m_source_id.
| 
 | virtual | 
Implements DAEEventSource.
Definition at line 975 of file event_store.cpp.
References m_events, and m_events_sent.
Referenced by getNewEvents().
| 
 | private | 
Definition at line 1012 of file event_store.cpp.
References DAE_EVENT_HEADER_WORDS, ISISRAW::dat1, getFrame(), m_card_lookup, m_events, m_events_sent, m_file, m_last_frame, m_pos, m_pos_sent, m_source_id, m_spec_lookup, sendHeader(), DetectorEvent32::spectrum, ISISRAW::t_nsp1, ISISRAW::t_ntc1, and DetectorEvent32::time_channel.
Referenced by getNewEvents().
| void ISISRAWEventSource::readInfo | ( | EventStore::FileEventSourceInfo & | info | ) | 
Definition at line 1003 of file event_store.cpp.
References EventStore::FileEventSourceInfo::good_events, EventStore::FileEventSourceInfo::good_frames, m_events, m_good_frames, EventStore::FileEventSourceInfo::raw_events, and EventStore::FileEventSourceInfo::raw_frames.
| 
 | private | 
Definition at line 1057 of file event_store.cpp.
References AllValuesFilledInMarker, DAE_EVENT_HEADER_WORDS, DAEEventHeaderFixedMarker, DAEEventHeader::frame_number, DAEEventHeaderInfo::header_length, DAEEventHeaderInfo::header_type, DAEEventHeader::info, m_frame_events, m_good_frames, m_good_ua, m_run_start, DAEEventHeader::marker0, DAEEventHeader::marker1, DAEEventHeader::num_events, DAEEventList::OffsetToDAETime(), DAEEventHeader::period, PPP_TO_UAMPH, DAEEventHeader::protons, and DAEEventHeader::time.
Referenced by readEvents().
| 
 | virtual | 
Implements DAEEventSource.
Definition at line 999 of file event_store.cpp.
| 
 | virtual | 
Implements DAEEventSource.
Definition at line 980 of file event_store.cpp.
| 
 | private | 
Definition at line 274 of file event_store.h.
Referenced by ISISRAWEventSource(), and readEvents().
| 
 | private | 
total events to send
Definition at line 270 of file event_store.h.
Referenced by getFrame(), ISISRAWEventSource(), nNewEventWords(), readEvents(), and readInfo().
| 
 | private | 
events sent to date
Definition at line 275 of file event_store.h.
Referenced by nNewEventWords(), and readEvents().
| 
 | private | 
Definition at line 272 of file event_store.h.
Referenced by ISISRAWEventSource(), and readEvents().
| 
 | private | 
Definition at line 282 of file event_store.h.
Referenced by ISISRAWEventSource(), and sendHeader().
| 
 | private | 
Definition at line 279 of file event_store.h.
Referenced by getFrame(), ISISRAWEventSource(), readInfo(), and sendHeader().
| 
 | private | 
Definition at line 278 of file event_store.h.
Referenced by ISISRAWEventSource(), and sendHeader().
| 
 | private | 
Definition at line 280 of file event_store.h.
Referenced by readEvents().
| 
 | private | 
current location in raw data
Definition at line 276 of file event_store.h.
Referenced by readEvents().
| 
 | private | 
number of events sent from pos
Definition at line 277 of file event_store.h.
Referenced by readEvents().
| 
 | private | 
Definition at line 281 of file event_store.h.
Referenced by ISISRAWEventSource(), and sendHeader().
| 
 | private | 
Definition at line 271 of file event_store.h.
Referenced by eventSourceID(), ISISRAWEventSource(), loggingPrefix(), and readEvents().
| 
 | private | 
Definition at line 273 of file event_store.h.
Referenced by ISISRAWEventSource(), and readEvents().
 1.8.5
 1.8.5