ROOTANA
Data Structures | Macros | Functions | Variables
analyzer.cxx File Reference
#include <stdio.h>
#include <sys/time.h>
#include <iostream>
#include <assert.h>
#include <signal.h>
#include <string.h>
#include <stdlib.h>
#include "TMidasOnline.h"
#include "TMidasEvent.h"
#include "midasio.h"
#include <TSystem.h>
#include <TROOT.h>
#include <TApplication.h>
#include <TTimer.h>
#include <TFile.h>
#include <TDirectory.h>
#include <TGClient.h>
#include <TGFrame.h>
#include <TFolder.h>
#include "Globals.h"
#include <TH1D.h>
#include <TGMenu.h>
Include dependency graph for analyzer.cxx:

Go to the source code of this file.

Data Structures

class  MyPeriodic
 
class  MainWindow
 

Macros

#define M_FILE_EXIT   0
 

Functions

double GetTimeSec ()
 
void startRun (int transition, int run, int time)
 
void endRun (int transition, int run, int time)
 
void HandleSample (int ichan, void *ptr, int wsize)
 
void HandleMidasEvent (TMidasEvent &event)
 
void eventHandler (const void *pheader, const void *pdata, int size)
 
int ProcessMidasFile (const char *fname)
 
void MidasPollHandler ()
 
int ProcessMidasOnline (TApplication *app, const char *hostname, const char *exptname)
 
int ShowMem (const char *label)
 
void help ()
 
int main (int argc, char *argv[])
 

Variables

int gRunNumber = 0
 
bool gIsRunning = false
 
bool gIsPedestalsRun = false
 
bool gIsOffline = false
 
int gEventCutoff = 0
 
TDirectorygOnlineHistDir = NULL
 
TFile * gOutputFile = NULL
 
MVOdbgOdb = NULL
 
static bool gEnableShowMem = false
 

Macro Definition Documentation

◆ M_FILE_EXIT

#define M_FILE_EXIT   0

Definition at line 432 of file analyzer.cxx.

Function Documentation

◆ endRun()

void endRun ( int  transition,
int  run,
int  time 
)

Definition at line 147 of file analyzer.cxx.

Here is the caller graph for this function:

◆ eventHandler()

void eventHandler ( const void *  pheader,
const void *  pdata,
int  size 
)

Definition at line 250 of file analyzer.cxx.

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

◆ GetTimeSec()

double GetTimeSec ( )

Definition at line 62 of file analyzer.cxx.

Here is the caller graph for this function:

◆ HandleMidasEvent()

void HandleMidasEvent ( TMidasEvent event)

Definition at line 207 of file analyzer.cxx.

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

◆ HandleSample()

void HandleSample ( int  ichan,
void *  ptr,
int  wsize 
)

Definition at line 173 of file analyzer.cxx.

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

◆ help()

void help ( )

Definition at line 532 of file analyzer.cxx.

Here is the caller graph for this function:

◆ main()

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

Definition at line 554 of file analyzer.cxx.

Here is the call graph for this function:

◆ MidasPollHandler()

void MidasPollHandler ( )

Definition at line 344 of file analyzer.cxx.

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

◆ ProcessMidasFile()

int ProcessMidasFile ( const char *  fname)

Definition at line 259 of file analyzer.cxx.

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

◆ ProcessMidasOnline()

int ProcessMidasOnline ( TApplication *  app,
const char *  hostname,
const char *  exptname 
)

Definition at line 357 of file analyzer.cxx.

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

◆ ShowMem()

int ShowMem ( const char *  label)

Definition at line 513 of file analyzer.cxx.

◆ startRun()

void startRun ( int  transition,
int  run,
int  time 
)

Definition at line 113 of file analyzer.cxx.

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

Variable Documentation

◆ gEnableShowMem

bool gEnableShowMem = false
static

Definition at line 511 of file analyzer.cxx.

◆ gEventCutoff

int gEventCutoff = 0

Definition at line 51 of file analyzer.cxx.

◆ gIsOffline

bool gIsOffline = false

Definition at line 50 of file analyzer.cxx.

◆ gIsPedestalsRun

bool gIsPedestalsRun = false

Definition at line 49 of file analyzer.cxx.

◆ gIsRunning

bool gIsRunning = false

Definition at line 48 of file analyzer.cxx.

◆ gOdb

MVOdb* gOdb = NULL

Definition at line 58 of file analyzer.cxx.

◆ gOnlineHistDir

TDirectory* gOnlineHistDir = NULL

Definition at line 54 of file analyzer.cxx.

◆ gOutputFile

TFile* gOutputFile = NULL

Definition at line 55 of file analyzer.cxx.

◆ gRunNumber

int gRunNumber = 0

Definition at line 47 of file analyzer.cxx.