lhapdf
is hosted by
Hepforge
,
IPPP Durham
LHAPDF
6.2.3
include
LHAPDF
PDFInfo.h
1
// -*- C++ -*-
2
//
3
// This file is part of LHAPDF
4
// Copyright (C) 2012-2019 The LHAPDF collaboration (see AUTHORS for details)
5
//
6
#pragma once
7
#ifndef LHAPDF_PDFInfo_H
8
#define LHAPDF_PDFInfo_H
9
10
#include "LHAPDF/Info.h"
11
#include "LHAPDF/Factories.h"
12
#include "LHAPDF/PDFIndex.h"
13
14
namespace
LHAPDF
{
15
16
18
class
PDFInfo
:
public
Info
{
19
public
:
20
22
23
29
PDFInfo
() { }
30
35
PDFInfo
(
const
std::string& mempath);
36
38
PDFInfo
(
const
std::string& setname,
int
member);
39
41
PDFInfo
(
int
lhaid);
42
44
45
47
48
50
bool
has_key
(
const
std::string& key)
const
;
51
53
const
std::string&
get_entry
(
const
std::string& key)
const
;
54
56
const
std::string&
get_entry
(
const
std::string& key,
const
std::string& fallback)
const
{
57
return
Info::get_entry
(key, fallback);
58
}
59
61
62
63
private
:
64
66
std::string
_setname
;
67
70
int
_member
;
71
72
};
73
74
75
}
76
#endif
LHAPDF::PDFInfo::_member
int _member
Definition:
PDFInfo.h:70
LHAPDF::PDFInfo::has_key
bool has_key(const std::string &key) const
Can this Info object return a value for the given key? (it may be defined non-locally) ...
LHAPDF::PDFInfo::get_entry
const std::string & get_entry(const std::string &key) const
Retrieve a metadata string by key name.
LHAPDF::PDFInfo::get_entry
const std::string & get_entry(const std::string &key, const std::string &fallback) const
Retrieve a metadata string by key name, with a fallback.
Definition:
PDFInfo.h:56
LHAPDF::Info::get_entry
virtual const std::string & get_entry(const std::string &key) const
Definition:
Info.h:107
LHAPDF::PDFInfo::PDFInfo
PDFInfo()
Definition:
PDFInfo.h:29
LHAPDF::PDFInfo
Metadata class for PDF members.
Definition:
PDFInfo.h:18
LHAPDF
Namespace for all LHAPDF functions and classes.
Definition:
AlphaS.h:14
LHAPDF::PDFInfo::_setname
std::string _setname
Name of the set in which this PDF is contained (for PDFSet lookup)
Definition:
PDFInfo.h:66
LHAPDF::Info
Metadata base class for PDFs, PDF sets, or global configuration.
Definition:
Info.h:29
Generated on Wed Oct 2 2019 20:41:54 for LHAPDF by
1.8.13