![]() |
Project
|
#include "DataFormatsMCH/Digit.h"#include "MCHRawEncoderDigit/Digit2ElecMapper.h"#include "DigitTreeReader.h"#include "MCHRawElecMap/Mapper.h"#include <TFile.h>#include <boost/program_options.hpp>#include <fmt/format.h>#include <iostream>#include <rapidjson/document.h>#include <rapidjson/ostreamwrapper.h>#include <rapidjson/stringbuffer.h>#include <rapidjson/writer.h>#include <string>Go to the source code of this file.
Functions | |
| std::string | digitIdAsString (const o2::mch::Digit &digit, const Digit2ElecMapper &digit2elec) |
| void | outputToJson (const std::vector< o2::mch::Digit > &digits, std::function< std::optional< DsElecId >(DsDetId)> det2elec, rapidjson::Writer< rapidjson::OStreamWrapper > &writer) |
| int | main (int argc, char *argv[]) |
| std::string digitIdAsString | ( | const o2::mch::Digit & | digit, |
| const Digit2ElecMapper & | digit2elec | ||
| ) |
Definition at line 29 of file digits-to-json.cxx.
Definition at line 65 of file digits-to-json.cxx.
| void outputToJson | ( | const std::vector< o2::mch::Digit > & | digits, |
| std::function< std::optional< DsElecId >(DsDetId)> | det2elec, | ||
| rapidjson::Writer< rapidjson::OStreamWrapper > & | writer | ||
| ) |
Definition at line 41 of file digits-to-json.cxx.