ROOTANA
Data Structures | Macros | Functions | Variables
manalyzer.cxx File Reference
#include <stdio.h>
#include <unistd.h>
#include <assert.h>
#include <sys/stat.h>
#include "manalyzer.h"
#include "midasio.h"
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <signal.h>
#include <TSystem.h>
#include "TH1D.h"
#include <map>
#include "TMidasOnline.h"
#include <TGMenu.h>
#include <TGButton.h>
#include <TBrowser.h>
Include dependency graph for manalyzer.cxx:

Go to the source code of this file.

Data Structures

class  Profiler
 
class  RunHandler
 
class  OnlineHandler
 
class  EventDumpModule
 
class  EventDumpModuleFactory
 
class  ValueHolder
 
class  TextButton
 
class  MainWindow
 
class  InteractiveModule
 
class  InteractiveModuleFactory
 

Macros

#define CTRL_QUIT   1
 
#define CTRL_NEXT   2
 
#define CTRL_CONTINUE   3
 
#define CTRL_PAUSE   4
 
#define CTRL_NEXT_FLOW   5
 
#define CTRL_TBROWSER   11
 

Functions

static void WaitForAllQueuesEmpty (TAMultithreadHelper *mt)
 
static void WaitForAllThreadsShutdown (TAMultithreadHelper *mt)
 
static void MtQueueFlowEvent (TAMultithreadHelper *mt, int i, TAFlags *flag, TAFlowEvent *flow, bool wait)
 
static int ProcessMidasOnlineOld (const std::vector< std::string > &args, const char *hostname, const char *exptname, int num_analyze, TMWriterInterface *writer, bool multithread, bool profiler, int queue_interval_check)
 
static int ProcessMidasFiles (const std::vector< std::string > &files, const std::vector< std::string > &args, int num_skip, int num_analyze, TMWriterInterface *writer, bool multithread, bool profiler, int queue_interval_check)
 
static int ProcessDemoMode (const std::vector< std::string > &args, int num_skip, int num_analyze, TMWriterInterface *writer, bool multithread, bool profiler, int queue_interval_check)
 
static void help ()
 
static bool starts_with (const std::string &s, const char *prefix)
 
int manalyzer_main (int argc, char *argv[])
 

Variables

static bool gTrace = false
 
static int gDefaultMultithreadQueueLength = 100
 
static int gDefaultMultithreadWaitEmpty = 100
 
static int gDefaultMultithreadWaitFull = 100
 
std::vector< TAFactory * > * gModules = NULL
 
static bool gEnableShowMem = false
 

Macro Definition Documentation

◆ CTRL_CONTINUE

#define CTRL_CONTINUE   3

Definition at line 2152 of file manalyzer.cxx.

◆ CTRL_NEXT

#define CTRL_NEXT   2

Definition at line 2151 of file manalyzer.cxx.

◆ CTRL_NEXT_FLOW

#define CTRL_NEXT_FLOW   5

Definition at line 2154 of file manalyzer.cxx.

◆ CTRL_PAUSE

#define CTRL_PAUSE   4

Definition at line 2153 of file manalyzer.cxx.

◆ CTRL_QUIT

#define CTRL_QUIT   1

Definition at line 2150 of file manalyzer.cxx.

◆ CTRL_TBROWSER

#define CTRL_TBROWSER   11

Definition at line 2156 of file manalyzer.cxx.

Function Documentation

◆ help()

static void help ( )
static

Definition at line 2629 of file manalyzer.cxx.

Here is the caller graph for this function:

◆ manalyzer_main()

int manalyzer_main ( int  argc,
char *  argv[] 
)

Definition at line 2692 of file manalyzer.cxx.

◆ MtQueueFlowEvent()

static void MtQueueFlowEvent ( TAMultithreadHelper mt,
int  i,
TAFlags flag,
TAFlowEvent flow,
bool  wait 
)
static

Definition at line 449 of file manalyzer.cxx.

Here is the caller graph for this function:

◆ ProcessDemoMode()

static int ProcessDemoMode ( const std::vector< std::string > &  args,
int  num_skip,
int  num_analyze,
TMWriterInterface writer,
bool  multithread,
bool  profiler,
int  queue_interval_check 
)
static

Definition at line 1955 of file manalyzer.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessMidasFiles()

static int ProcessMidasFiles ( const std::vector< std::string > &  files,
const std::vector< std::string > &  args,
int  num_skip,
int  num_analyze,
TMWriterInterface writer,
bool  multithread,
bool  profiler,
int  queue_interval_check 
)
static

Definition at line 1788 of file manalyzer.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessMidasOnlineOld()

static int ProcessMidasOnlineOld ( const std::vector< std::string > &  args,
const char *  hostname,
const char *  exptname,
int  num_analyze,
TMWriterInterface writer,
bool  multithread,
bool  profiler,
int  queue_interval_check 
)
static

Definition at line 1714 of file manalyzer.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ starts_with()

static bool starts_with ( const std::string &  s,
const char *  prefix 
)
static

Definition at line 2685 of file manalyzer.cxx.

Here is the caller graph for this function:

◆ WaitForAllQueuesEmpty()

static void WaitForAllQueuesEmpty ( TAMultithreadHelper mt)
static

Definition at line 302 of file manalyzer.cxx.

Here is the caller graph for this function:

◆ WaitForAllThreadsShutdown()

static void WaitForAllThreadsShutdown ( TAMultithreadHelper mt)
static

Definition at line 348 of file manalyzer.cxx.

Here is the caller graph for this function:

Variable Documentation

◆ gDefaultMultithreadQueueLength

int gDefaultMultithreadQueueLength = 100
static

Definition at line 298 of file manalyzer.cxx.

◆ gDefaultMultithreadWaitEmpty

int gDefaultMultithreadWaitEmpty = 100
static

Definition at line 299 of file manalyzer.cxx.

◆ gDefaultMultithreadWaitFull

int gDefaultMultithreadWaitFull = 100
static

Definition at line 300 of file manalyzer.cxx.

◆ gEnableShowMem

bool gEnableShowMem = false
static

Definition at line 2041 of file manalyzer.cxx.

◆ gModules

std::vector<TAFactory*>* gModules = NULL

Definition at line 495 of file manalyzer.cxx.

◆ gTrace

bool gTrace = false
static

Definition at line 19 of file manalyzer.cxx.