Macros
RawFileParser.cpp File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/mman.h>
#include <vector>
#include "DAQDataFormats/DAQDataFormats.h"
#include "DAQDataFormats/RawRun.h"
#include "DAQDataFormats/RawRunHeader.h"
#include "DAQDataFormats/RawEvent.h"
#include "DAQDataFormats/RawEventHeader.h"
#include "DAQDataFormats/RawTrigger.h"
#include "DAQDataFormats/RawMicroBlock.h"
#include "DAQDataFormats/RawNanoSlice.h"
#include "DAQDataFormats/RawConfigurationBlock.h"
#include "RawFileParser/RawFileParser.h"

Go to the source code of this file.

Macros

#define TRUE   1
 
#define FALSE   0
 
#define FAIL   -1
 
#define DEBUGMSG(...)   if(debug_flag){fprintf(stderr, __VA_ARGS__);}
 

Macro Definition Documentation

#define DEBUGMSG (   ...)    if(debug_flag){fprintf(stderr, __VA_ARGS__);}
#define FAIL   -1
#define FALSE   0

Definition at line 31 of file RawFileParser.cpp.

Referenced by rawfileparser::RawFileParser::AdvanceToConfigEnd(), rawfileparser::RawFileParser::AdvanceToConfigStart(), rawfileparser::RawFileParser::AdvanceToConfigStart_file(), rawfileparser::RawFileParser::AdvanceToConfigStart_mem(), rawfileparser::RawFileParser::AdvanceToEvent(), rawfileparser::RawFileParser::AdvanceToFirstEvent(), rawfileparser::RawFileParser::AdvanceToFirstEvent_file(), rawfileparser::RawFileParser::AdvanceToFirstEvent_mem(), rawfileparser::RawFileParser::AdvanceToNextEvent(), rawfileparser::RawFileParser::AdvanceToNextEvent_file(), rawfileparser::RawFileParser::AdvanceToNextEvent_mem(), rawfileparser::RawFileParser::AdvanceToPreviousEvent(), rawfileparser::RawFileParser::AdvanceToPreviousEvent_mem(), rawfileparser::RawFileParser::AdvanceToRunHeader(), rawfileparser::RawFileParser::AdvanceToRunHeader_file(), rawfileparser::RawFileParser::AdvanceToRunHeader_mem(), rawfileparser::RawFileParser::AdvanceToRunTail(), rawfileparser::RawFileParser::AdvanceToRunTail_file(), rawfileparser::RawFileParser::AdvanceToRunTail_mem(), rawfileparser::RawFileParser::BuildEventIndex(), rawfileparser::RawFileParser::BuildEventIndex_file(), rawfileparser::RawFileParser::BuildEventIndex_mem(), rawfileparser::RawFileParser::checkWord(), rawfileparser::RawFileParser::checkWord_file(), rawfileparser::RawFileParser::checkWord_mem(), rawfileparser::RawFileParser::getEvent(), rawfileparser::RawFileParser::GotoEvent_file(), rawfileparser::RawFileParser::GotoEvent_mem(), rawfileparser::RawFileParser::readEventSize_file(), rawfileparser::RawFileParser::wordsearch(), rawfileparser::RawFileParser::wordsearch_file(), rawfileparser::RawFileParser::wordsearch_mem(), rawfileparser::RawFileParser::wordsearchreverse(), and rawfileparser::RawFileParser::wordsearchreverse_mem().

#define TRUE   1

Definition at line 27 of file RawFileParser.cpp.

Referenced by rawfileparser::RawFileParser::AdvanceToConfigEnd(), rawfileparser::RawFileParser::AdvanceToConfigStart_file(), rawfileparser::RawFileParser::AdvanceToConfigStart_mem(), rawfileparser::RawFileParser::AdvanceToFirstEvent_file(), rawfileparser::RawFileParser::AdvanceToFirstEvent_mem(), rawfileparser::RawFileParser::AdvanceToNextEvent_file(), rawfileparser::RawFileParser::AdvanceToNextEvent_mem(), rawfileparser::RawFileParser::AdvanceToPreviousEvent_mem(), rawfileparser::RawFileParser::AdvanceToRunHeader_file(), rawfileparser::RawFileParser::AdvanceToRunHeader_mem(), rawfileparser::RawFileParser::AdvanceToRunTail_file(), rawfileparser::RawFileParser::AdvanceToRunTail_mem(), rawfileparser::RawFileParser::BuildEventIndex_file(), rawfileparser::RawFileParser::BuildEventIndex_mem(), rawfileparser::RawFileParser::checkWord_file(), rawfileparser::RawFileParser::checkWord_mem(), rawfileparser::RawFileParser::getConfigBlock(), rawfileparser::RawFileParser::getEvent(), rawfileparser::RawFileParser::getFirstEvent(), rawfileparser::RawFileParser::getNextEvent(), rawfileparser::RawFileParser::getPreviousEvent(), rawfileparser::RawFileParser::getRunHeader(), rawfileparser::RawFileParser::getRunTail(), rawfileparser::RawFileParser::GotoEvent_file(), rawfileparser::RawFileParser::GotoEvent_mem(), rawfileparser::RawFileParser::readEventSize_mem(), rawfileparser::RawFileParser::wordsearch_file(), rawfileparser::RawFileParser::wordsearch_mem(), and rawfileparser::RawFileParser::wordsearchreverse_mem().