ICP
1
|
Utility program for talking to the ISIS ICP. More...
#include "stdafx.h"
#include "../newicp/icputils.h"
#include "../newicp/event_store.h"
#include "../newicp/TCPEventStreamDefs.h"
#include "../newicp/isisraw.h"
#include "../nexus/NeXusFile.hpp"
Go to the source code of this file.
Classes | |
class | EventsToolApp |
Macros | |
#define | PPP_TO_UAMPH 1.738E-6 |
Functions | |
int | _tmain (int argc, _TCHAR *argv[]) |
static void | all_event_callback (const DAEEventHeader *head, const DetectorEvent32 *det_ev, int n, int event_source_id, const int *mapping) |
static void | good_event_callback (const DAEEventHeader *head, const DetectorEvent32 *det_ev, int n, int event_source_id, const int *mapping) |
static void | convert_good_event_callback (const DAEEventHeader *head, const DetectorEvent32 *det_ev, int n, int event_source_id, const int *mapping) |
static void | all_frame_callback (const DAEEventHeader *head, int event_source_id) |
static void | good_frame_callback (const DAEEventHeader *head, int event_source_id) |
Variables | |
static uint64_t | all_events_c = 0 |
static uint64_t | good_events_c = 0 |
static std::map< int, uint64_t > | raw_protons |
static std::map< int, uint64_t > | good_protons |
static std::map< int, uint64_t > | raw_events |
static std::map< int, uint64_t > | good_events |
static std::map< int, int > | first_data_frame |
static Poco::Mutex | the_mutex |
Utility program for talking to the ISIS ICP.
Definition in file events_tool.cpp.
#define PPP_TO_UAMPH 1.738E-6 |
Definition at line 187 of file events_tool.cpp.
Referenced by EventsToolApp::main().
int _tmain | ( | int | argc, |
_TCHAR * | argv[] | ||
) |
Definition at line 40 of file events_tool.cpp.
|
static |
Definition at line 135 of file events_tool.cpp.
References all_events_c, and the_mutex.
Referenced by EventsToolApp::main().
|
static |
Definition at line 172 of file events_tool.cpp.
References DAEEventHeader::frame_number, DAEEventHeader::num_events, DAEEventHeader::protons, and the_mutex.
Referenced by EventsToolApp::main().
|
static |
Definition at line 159 of file events_tool.cpp.
References good_events_c, and the_mutex.
Referenced by EventsToolApp::convertRawToEvents().
|
static |
Definition at line 143 of file events_tool.cpp.
References DAEEventHeader::frame_number, good_events_c, DetectorEvent32::spectrum, and the_mutex.
Referenced by EventsToolApp::main().
|
static |
Definition at line 180 of file events_tool.cpp.
References DAEEventHeader::frame_number, DAEEventHeader::num_events, DAEEventHeader::protons, and the_mutex.
Referenced by EventsToolApp::main().
|
static |
Definition at line 124 of file events_tool.cpp.
Referenced by all_event_callback(), and EventsToolApp::main().
|
static |
Definition at line 131 of file events_tool.cpp.
|
static |
Definition at line 130 of file events_tool.cpp.
|
static |
Definition at line 125 of file events_tool.cpp.
Referenced by convert_good_event_callback(), EventsToolApp::convertRawToEvents(), good_event_callback(), and EventsToolApp::main().
|
static |
Definition at line 128 of file events_tool.cpp.
|
static |
Definition at line 129 of file events_tool.cpp.
|
static |
Definition at line 127 of file events_tool.cpp.
|
static |
Definition at line 133 of file events_tool.cpp.
Referenced by all_event_callback(), all_frame_callback(), convert_good_event_callback(), good_event_callback(), and good_frame_callback().