![]() |
Project
|
Generate MID mapping files. More...
#include <iostream>
#include <fstream>
#include <filesystem>
#include <map>
#include <vector>
#include <fmt/format.h>
#include "boost/program_options.hpp"
#include <rapidjson/document.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include "MIDBase/DetectorParameters.h"
#include "MIDGlobalMapping/ExtendedMappingInfo.h"
#include "MIDGlobalMapping/GlobalMapper.h"
Go to the source code of this file.
Functions | |
void | stripsInfo2json (const std::vector< o2::mid::ExtendedMappingInfo > &infos, const char *outDir) |
void | strips2json (const std::vector< o2::mid::ExtendedMappingInfo > &infos, const char *outDir) |
void | de2json (const std::map< int, std::vector< std::pair< int, int > > > &deMap, const char *outDir) |
void | writeJson (const std::vector< o2::mid::ExtendedMappingInfo > &infos, const std::map< int, std::vector< std::pair< int, int > > > &deMap, const char *outDir) |
int | main (int argc, char *argv[]) |
void de2json | ( | const std::map< int, std::vector< std::pair< int, int > > > & | deMap, |
const char * | outDir | ||
) |
Definition at line 139 of file global-mapper.cxx.
Definition at line 178 of file global-mapper.cxx.
void strips2json | ( | const std::vector< o2::mid::ExtendedMappingInfo > & | infos, |
const char * | outDir | ||
) |
Definition at line 70 of file global-mapper.cxx.
void stripsInfo2json | ( | const std::vector< o2::mid::ExtendedMappingInfo > & | infos, |
const char * | outDir | ||
) |
Definition at line 33 of file global-mapper.cxx.
void writeJson | ( | const std::vector< o2::mid::ExtendedMappingInfo > & | infos, |
const std::map< int, std::vector< std::pair< int, int > > > & | deMap, | ||
const char * | outDir | ||
) |
Definition at line 167 of file global-mapper.cxx.