Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
hdevio_scan.cc File Reference
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
#include <time.h>
#include <iostream>
#include <string>
#include <vector>
#include <stack>
#include <thread>
#include <TFile.h>
#include "DMapEVIOWords.h"
#include <DAQ/HDEVIO.h>

Go to the source code of this file.

Functions

void Usage (string mess)
 
void ParseCommandLineArguments (int narg, char *argv[])
 
void PrintSummary (void)
 
void MapEVIOWords (void)
 
int main (int narg, char *argv[])
 

Variables

vector< stringfilenames
 
bool PRINT_SUMMARY = true
 
bool SAVE_FILE_MAP = false
 
bool SKIP_EVENT_MAPPING = false
 
bool MAP_WORDS = false
 
bool GENERATE_ERROR_REPORT = false
 
string ROOT_FILENAME = "hdevio_scan.root"
 
string MAP_FILENAME = ""
 
uint64_t MAX_EVIO_EVENTS = 20000
 
uint64_t SKIP_EVIO_EVENTS = 0
 
uint32_t BLOCK_SIZE = 20
 
uint32_t MAX_HISTORY_BUFF_SIZE = 400
 

Function Documentation

int main ( int  narg,
char *  argv[] 
)
void ParseCommandLineArguments ( int  narg,
char *  argv[] 
)
void Usage ( string  mess = "")

Variable Documentation

uint32_t BLOCK_SIZE = 20

Definition at line 37 of file hdevio_scan.cc.

Referenced by DMapEVIOWords::DMapEVIOWords(), and DMapEVIOWords::ParseEvent().

vector<string> filenames

Definition at line 27 of file hdevio_scan.cc.

bool GENERATE_ERROR_REPORT = false

Definition at line 32 of file hdevio_scan.cc.

Referenced by PrintSummary().

string MAP_FILENAME = ""

Definition at line 34 of file hdevio_scan.cc.

Referenced by PrintSummary().

bool MAP_WORDS = false

Definition at line 31 of file hdevio_scan.cc.

Referenced by main().

uint64_t MAX_EVIO_EVENTS = 20000

Definition at line 35 of file hdevio_scan.cc.

Referenced by MapEVIOWords().

uint32_t MAX_HISTORY_BUFF_SIZE = 400

Definition at line 38 of file hdevio_scan.cc.

Referenced by MapEVIOWords().

bool PRINT_SUMMARY = true

Definition at line 28 of file hdevio_scan.cc.

Referenced by main().

string ROOT_FILENAME = "hdevio_scan.root"

Definition at line 33 of file hdevio_scan.cc.

Referenced by MapEVIOWords().

bool SAVE_FILE_MAP = false

Definition at line 29 of file hdevio_scan.cc.

Referenced by PrintSummary().

bool SKIP_EVENT_MAPPING = false

Definition at line 30 of file hdevio_scan.cc.

Referenced by PrintSummary().

uint64_t SKIP_EVIO_EVENTS = 0

Definition at line 36 of file hdevio_scan.cc.

Referenced by MapEVIOWords().