Project
Loading...
Searching...
No Matches
raw-ul-checker.cxx File Reference

Compares the user logic output with the raw input. More...

#include <cstdint>
#include <iostream>
#include <fstream>
#include <unordered_map>
#include <vector>
#include <fmt/format.h>
#include "boost/program_options.hpp"
#include "MIDQC/UserLogicChecker.h"
#include "MIDRaw/ElectronicsDelay.h"
#include "MIDRaw/FEEIdConfig.h"
#include "MIDRaw/CrateMasks.h"
#include "MIDRaw/Decoder.h"
#include "MIDRaw/RawFileReader.h"

Go to the source code of this file.

Functions

bool readFile (std::string filename, o2::mid::Decoder &decoder, std::vector< o2::mid::ROBoard > &data, std::vector< o2::mid::ROFRecord > &rofRecords, unsigned long int nHBFs)
 
std::vector< std::stringsplit (const std::string &str, char delimiter=',')
 
int main (int argc, char *argv[])
 

Detailed Description

Compares the user logic output with the raw input.

Author
Diego Stocco <Diego.Stocco at cern.ch>
Date
09 December 2019

Definition in file raw-ul-checker.cxx.

Function Documentation

◆ main()

int main ( int  argc,
char argv[] 
)

Definition at line 73 of file raw-ul-checker.cxx.

◆ readFile()

bool readFile ( std::string  filename,
o2::mid::Decoder decoder,
std::vector< o2::mid::ROBoard > &  data,
std::vector< o2::mid::ROFRecord > &  rofRecords,
unsigned long int  nHBFs 
)

Definition at line 33 of file raw-ul-checker.cxx.

◆ split()

std::vector< std::string > split ( const std::string str,
char  delimiter = ',' 
)

Definition at line 62 of file raw-ul-checker.cxx.