#include "dabc/logging.h"
#include "dabc/timing.h"
#include "dabc/ModuleSync.h"
#include "dabc/Port.h"
#include "dabc/Timer.h"
#include "dabc/Command.h"
#include "dabc/Manager.h"
#include "dabc/MemoryPool.h"
#include "dabc/PoolHandle.h"
#include "dabc/threads.h"
#include "dabc/Application.h"
#include "dabc/SocketDevice.h"
#include "dabc/statistic.h"
#include "dabc/TimeSyncModule.h"
#include "dabc/Factory.h"
#include "dabc/Configuration.h"
#include "mbs/MbsTypeDefs.h"
#include "mbs/Iterator.h"
#include <string>
#include <vector>
#include <map>
Go to the source code of this file.
Data Structures | |
class | CernOct11SorterModule |
class | CernOct11Factory |
Typedefs | |
typedef std::map< uint32_t, int > | SubeventsMap |
Enumerations | |
enum | ERocMbsTypes { proc_RocEvent = 1, proc_ErrEvent = 2, proc_MergedEvent = 3, proc_RawData = 4, proc_Triglog = 5, proc_TRD_MADC = 6, proc_TRD_Spadic = 7, proc_CERN_Oct11 = 8, proc_SlaveMbs = 9, proc_EPICS = 10, proc_COSY_Nov11 = 11, proc_RocEvent = 1, proc_ErrEvent = 2, proc_MergedEvent = 3, proc_RawData = 4, proc_Triglog = 5, proc_TRD_MADC = 6, proc_TRD_Spadic = 7, proc_CERN_Oct11 = 8, proc_SlaveMbs = 9, proc_EPICS = 10, proc_COSY_Nov11 = 11, proc_SpadicV10Raw = 12, proc_SpadicV10Event = 13, proc_CERN_Oct12 = 14, proc_FASP = 15, proc_TRBEvent = 31 } |
Functions | |
std::string | GetHeaderInfo (uint32_t id) |
int | last_master (0) |
int | last_slave (0) |
int | last_mastertm (0) |
int | GetEventNumber (uint32_t id, void *dataptr, int datalen) |
dabc::FactoryPlugin | cernoct11 (new CernOct11Factory("cern-oct11")) |
void | RunSorter () |
typedef std::map<uint32_t,int> SubeventsMap |
Definition at line 99 of file oct11-sorter.cxx.
enum ERocMbsTypes |
Definition at line 26 of file oct11-sorter.cxx.
dabc::FactoryPlugin cernoct11 | ( | new | CernOct11Factory"cern-oct11" | ) |
int GetEventNumber | ( | uint32_t | id, | |
void * | dataptr, | |||
int | datalen | |||
) |
Definition at line 59 of file oct11-sorter.cxx.
References last_master(), last_mastertm(), last_slave(), proc_CERN_Oct11, proc_EPICS, proc_RocEvent, proc_SlaveMbs, proc_TRD_Spadic, and proc_Triglog.
Referenced by CernOct12SorterModule::CombinerLoop(), CernOct11SorterModule::MainLoop(), and CernOct12SorterModule::NormalLoop().
std::string GetHeaderInfo | ( | uint32_t | id | ) |
Definition at line 40 of file oct11-sorter.cxx.
References proc_CERN_Oct11, proc_EPICS, proc_ErrEvent, proc_MergedEvent, proc_RawData, proc_RocEvent, proc_SlaveMbs, proc_TRD_MADC, proc_TRD_Spadic, and proc_Triglog.
Referenced by CernOct12SorterModule::CombinerLoop(), CernOct11SorterModule::MainLoop(), and CernOct12SorterModule::NormalLoop().
int last_master | ( | 0 | ) |
Referenced by GetEventNumber(), CernOct11SorterModule::MainLoop(), and CernOct12SorterModule::NormalLoop().
int last_mastertm | ( | 0 | ) |
Referenced by GetEventNumber().
int last_slave | ( | 0 | ) |
Referenced by GetEventNumber(), CernOct11SorterModule::MainLoop(), and CernOct12SorterModule::NormalLoop().
void RunSorter | ( | ) |
Definition at line 311 of file oct11-sorter.cxx.