ROOTANA
|
#include "TRootanaEventLoop.hxx"
#include "TMidasOnline.h"
#include "TPeriodicClass.hxx"
#include "MainWindow.hxx"
#include <TSystem.h>
#include <TROOT.h>
#include <TH1D.h>
#include <stdio.h>
#include <sys/time.h>
#include <iostream>
#include <assert.h>
#include <signal.h>
#include "midasio.h"
Go to the source code of this file.
Functions | |
void | PrintCurrentStats () |
int | ss_daemon_init () |
void | onlineEventHandler (const void *pheader, const void *pdata, int size) |
void | onlineBeginRunHandler (int transition, int run, int time) |
void | onlineEndRunHandler (int transition, int run, int time) |
void | MidasPollHandlerLocal () |
Variables | |
struct timeval | raLastTime |
Little function for printing the number of processed events and processing rate. | |
int | raTotalEventsProcessed = 0 |
int | raTotalEventsSkippedForAge = 0 |
bool | gUseOnlyRecent |
static bool | onlineEventLock = false |
int | numberConsSkipped =0 |
double | nextWarn = 1.0 |
int | numberOldTimestamps =0 |
double | nextWarnTimestamps = 1.0 |
bool | disableOnlyRecentMode = false |
struct timeval | lastTimeProcessed |
void MidasPollHandlerLocal | ( | ) |
Definition at line 713 of file TRootanaEventLoop.cxx.
void onlineBeginRunHandler | ( | int | transition, |
int | run, | ||
int | time | ||
) |
Definition at line 690 of file TRootanaEventLoop.cxx.
void onlineEndRunHandler | ( | int | transition, |
int | run, | ||
int | time | ||
) |
Definition at line 704 of file TRootanaEventLoop.cxx.
void onlineEventHandler | ( | const void * | pheader, |
const void * | pdata, | ||
int | size | ||
) |
We need to use a regular function, so that it can be passed to the TMidasOnline event handler. This function calles the event loop singleton, allowing the user to add their own function code.
Set the midas event pointer in the physics event.
Definition at line 578 of file TRootanaEventLoop.cxx.
void PrintCurrentStats | ( | ) |
int ss_daemon_init | ( | ) |
bool disableOnlyRecentMode = false |
Definition at line 571 of file TRootanaEventLoop.cxx.
bool gUseOnlyRecent |
Definition at line 43 of file TRootanaEventLoop.cxx.
struct timeval lastTimeProcessed |
Definition at line 572 of file TRootanaEventLoop.cxx.
double nextWarn = 1.0 |
Definition at line 566 of file TRootanaEventLoop.cxx.
double nextWarnTimestamps = 1.0 |
Definition at line 570 of file TRootanaEventLoop.cxx.
int numberConsSkipped =0 |
Definition at line 565 of file TRootanaEventLoop.cxx.
int numberOldTimestamps =0 |
Definition at line 569 of file TRootanaEventLoop.cxx.
|
static |
The following code is only applicable for online MIDAS programs
Definition at line 561 of file TRootanaEventLoop.cxx.
struct timeval raLastTime |
Little function for printing the number of processed events and processing rate.
Definition at line 38 of file TRootanaEventLoop.cxx.
int raTotalEventsProcessed = 0 |
Definition at line 39 of file TRootanaEventLoop.cxx.
int raTotalEventsSkippedForAge = 0 |
Definition at line 40 of file TRootanaEventLoop.cxx.