PandaRoot
JSONReadersHelper.h File Reference
#include <FairLogger.h>
#include <stdexcept>
#include <string>

Go to the source code of this file.

Namespaces

 JSONReaders
 collection of helper methods to load in pairs, triplets or vectors of doubles from JSON files
 

Functions

std::pair< double, double > JSONReaders::readPair (pt::ptree &tree)
 
std::pair< std::string, std::string > JSONReaders::readStringPair (pt::ptree &tree)
 
std::array< double, 3 > JSONReaders::readTriplet (pt::ptree &tree)
 
std::vector< double > JSONReaders::readVector (pt::ptree &tree)