Berkeley Nuclear Data Software
Classes | Namespaces | Typedefs | Enumerations | Functions
MesyDaqParsingSupport.h File Reference
#include <cerrno>
#include <cstdint>
#include <cstring>
#include <fstream>
#include <iostream>
#include <map>
#include "MesyDAQEvent.h"
#include "TFile.h"
#include "TROOT.h"
#include "TTree.h"
Include dependency graph for MesyDaqParsingSupport.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  listfile_v0
 
struct  listfile_v1
 

Namespaces

 listfile
 

Typedefs

typedef uint8_t u8
 
typedef uint16_t u16
 
typedef uint32_t u32
 
typedef uint64_t u64
 
typedef int8_t s8
 
typedef int16_t s16
 
typedef int32_t s32
 
typedef int64_t s64
 

Enumerations

enum  listfile::SectionType {
  listfile::SectionType_Config = 0 , listfile::SectionType_Event = 1 , listfile::SectionType_End = 2 , listfile::SectionType_Timetick = 3 ,
  listfile::SectionType_Max = 7
}
 
enum  listfile::VMEModuleType {
  listfile::Invalid = 0 , listfile::MADC32 = 1 , listfile::MQDC32 = 2 , listfile::MTDC32 = 3 ,
  listfile::MDPP16_SCP = 4 , listfile::MDPP32 = 5 , listfile::MDI2 = 6 , listfile::MDPP16_RCP = 7 ,
  listfile::MDPP16_QDC = 8 , listfile::VMMR = 9 , listfile::MesytecCounter = 16 , listfile::VHS4030p = 21
}
 

Functions

const char * listfile::get_vme_module_name (VMEModuleType moduleType)
 
int bitExtractor (int word, int numbits, int position)
 
template<typename LF >
void process_listfile (std::ifstream &infile, TString filename, bool optverbose, bool writeZeros, int a_numSection=-1, int a_numStartEvent=-1)
 

Typedef Documentation

◆ s16

typedef int16_t s16

◆ s32

typedef int32_t s32

◆ s64

typedef int64_t s64

◆ s8

typedef int8_t s8

◆ u16

typedef uint16_t u16

◆ u32

typedef uint32_t u32

◆ u64

typedef uint64_t u64

◆ u8

typedef uint8_t u8

Function Documentation

◆ bitExtractor()

int bitExtractor ( int  word,
int  numbits,
int  position 
)
inline
Here is the caller graph for this function:

◆ process_listfile()

template<typename LF >
void process_listfile ( std::ifstream &  infile,
TString  filename,
bool  optverbose,
bool  writeZeros,
int  a_numSection = -1,
int  a_numStartEvent = -1 
)
Here is the call graph for this function:
Here is the caller graph for this function: