Project
Loading...
Searching...
No Matches
digi2raw.cxx File Reference
#include <boost/program_options.hpp>
#include <TTree.h>
#include <TChain.h>
#include <TFile.h>
#include <TStopwatch.h>
#include "Framework/Logger.h"
#include <filesystem>
#include <vector>
#include <string>
#include <iomanip>
#include "ITSMFTReconstruction/ChipMappingITS.h"
#include "ITSMFTReconstruction/GBTWord.h"
#include "DataFormatsITSMFT/ROFRecord.h"
#include "DataFormatsParameters/GRPObject.h"
#include "DataFormatsITSMFT/Digit.h"
#include "ITSMFTSimulation/MC2RawEncoder.h"
#include "DetectorsCommonDataFormats/DetID.h"
#include "CommonUtils/NameConf.h"
#include "CommonUtils/StringUtils.h"
#include "CommonUtils/ConfigurableParam.h"
#include "DetectorsRaw/HBFUtils.h"

Go to the source code of this file.

Classes

struct  ITSRUMapping
 

Typedefs

using MAP = o2::itsmft::ChipMappingITS
 MC->raw conversion with new (variable page size) format for ITS.
 

Functions

void setupLinks (o2::itsmft::MC2RawEncoder< MAP > &m2r, std::string_view outDir, std::string_view outPrefix, std::string_view fileFor)
 
void digi2raw (std::string_view inpName, std::string_view outDir, std::string_view fileFor, int verbosity, uint32_t rdhV=DefRDHVersion, bool enablePadding=false, bool noEmptyHBF=false, bool noEmptyROF=false, int superPageSizeInB=1024 *1024)
 
int main (int argc, char **argv)
 

Variables

constexpr int DefRDHVersion = o2::raw::RDHUtils::getVersion<o2::header::RAWDataHeader>()
 
const ITSRUMapping itsHWMap [o2::itsmft::ChipMappingITS::getNRUs()]
 

Detailed Description

Typedef Documentation

◆ MAP

MC->raw conversion with new (variable page size) format for ITS.

Definition at line 38 of file digi2raw.cxx.

Function Documentation

◆ digi2raw()

void digi2raw ( std::string_view  inpName,
std::string_view  outDir,
std::string_view  fileFor,
int  verbosity,
uint32_t  rdhV = DefRDHVersion,
bool  enablePadding = false,
bool  noEmptyHBF = false,
bool  noEmptyROF = false,
int  superPageSizeInB = 1024 * 1024 
)

----—> input

----—< input

Definition at line 109 of file digi2raw.cxx.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 47 of file digi2raw.cxx.

◆ setupLinks()

void setupLinks ( o2::itsmft::MC2RawEncoder< MAP > &  m2r,
std::string_view  outDir,
std::string_view  outPrefix,
std::string_view  fileFor 
)

Definition at line 407 of file digi2raw.cxx.

Variable Documentation

◆ DefRDHVersion

constexpr int DefRDHVersion = o2::raw::RDHUtils::getVersion<o2::header::RAWDataHeader>()
constexpr

Definition at line 41 of file digi2raw.cxx.

◆ itsHWMap

Definition at line 212 of file digi2raw.cxx.