10#include "LHAPDF/Utils.h"
24 std::vector<std::string>
paths();
37 ps.insert(
ps.begin(),
p);
66 inline std::string pdfmempath(
const std::string&
setname,
int member) {
72 inline std::string findpdfmempath(
const std::string&
setname,
int member) {
76 inline std::string pdfsetinfopath(
const std::string&
setname) {
const std::vector< std::string > & availablePDFSets()
Get the names of all available PDF sets in the search path.
void pathsAppend(const std::string &p)
Append to the search paths list.
Definition Paths.h:44
std::vector< std::string > findFiles(const std::string &target)
Return all locations in which a file is found.
std::string findFile(const std::string &target)
void pathsPrepend(const std::string &p)
Prepend to the search paths list.
Definition Paths.h:35
std::vector< std::string > paths()
Get the ordered list of search paths, from $LHAPDF_DATA_PATH and the install location.
std::string findpdfsetinfopath(const std::string &setname)
Definition Paths.h:82
void setPaths(const std::string &pathstr)
Set the search paths list as a colon-separated string.
std::string to_str_zeropad(int val, size_t nchars=4)
Format an integer val as a zero-padded string of length nchars.
Definition Utils.h:78
T lexical_cast(const U &in)
Convert between types via stringstream.
Definition Utils.h:47
std::string join(const std::vector< std::string > &svec, const std::string &sep)
Concatenate strings with separator strings between each element.
Definition Utils.h:85
Namespace for all LHAPDF functions and classes.
Definition AlphaS.h:14