lhapdf
is hosted by
Hepforge
,
IPPP Durham
LHAPDF
6.5.4
Loading...
Searching...
No Matches
include
LHAPDF
Config.h
1
// -*- C++ -*-
2
//
3
// This file is part of LHAPDF
4
// Copyright (C) 2012-2023 The LHAPDF collaboration (see AUTHORS for details)
5
//
6
#pragma once
7
#ifndef LHAPDF_Config_H
8
#define LHAPDF_Config_H
9
10
#include "LHAPDF/Info.h"
11
12
namespace
LHAPDF
{
13
14
16
class
Config
:
public
Info
{
17
public
:
18
21
30
static
Config
&
get
();
32
33
35
~Config
();
36
37
38
private
:
39
41
Config
() {
42
// std::cout << "CONFIG CONSTRUCTION" << std::endl;
43
}
44
45
};
46
47
50
56
inline
int
verbosity
() {
57
return
Config::get
().
get_entry_as
<
int
>(
"Verbosity"
, 1);
58
}
59
65
inline
void
setVerbosity
(
int
v) {
66
Config::get
().
set_entry
(
"Verbosity"
, v);
67
}
68
70
71
72
}
73
#endif
LHAPDF::Config
Class for PDF set metadata and manipulation.
Definition
Config.h:16
LHAPDF::Config::~Config
~Config()
Config destructor, used for end-of-run banner printing.
LHAPDF::Config::Config
Config()
Hide the default constructor.
Definition
Config.h:41
LHAPDF::Config::get
static Config & get()
LHAPDF::Info
Metadata base class for PDFs, PDF sets, or global configuration.
Definition
Info.h:29
LHAPDF::Info::set_entry
void set_entry(const std::string &key, const T &val)
Set a keyed value entry.
Definition
Info.h:158
LHAPDF::Info::get_entry_as
T get_entry_as(const std::string &key) const
Definition
Info.h:139
LHAPDF::verbosity
int verbosity()
Definition
Config.h:56
LHAPDF::setVerbosity
void setVerbosity(int v)
Definition
Config.h:65
LHAPDF
Namespace for all LHAPDF functions and classes.
Definition
AlphaS.h:14
Generated on Thu Sep 26 2024 15:19:26 for LHAPDF by
1.12.0