lhapdf is hosted by Hepforge, IPPP Durham
LHAPDF  6.3.0
LHAPDF::KnotArrayNF Class Reference

A collection of {KnotArray1F}s accessed by PID code. More...

#include <KnotArray.h>

Public Member Functions

size_t size () const
 How many {KnotArray1F}s are stored in this container?
 
bool empty () const
 Is this container empty?
 
bool has_pid (int id) const
 Does this contain a KnotArray1F for PID code id?
 
const KnotArray1Fget_pid (int id) const
 Get the KnotArray1F for PID code id.
 
const KnotArray1Fget_first () const
 Convenience accessor for any valid subgrid, to get access to the x/Q2/etc. arrays.
 
void set_pid (int id, const KnotArray1F &ka)
 Get the KnotArray1F for PID code id.
 
KnotArray1Foperator[] (int id)
 Indexing operator (non-const)
 
const std::vector< double > & xs () const
 Access the xs array.
 
const std::vector< double > & logxs () const
 Access the log(x)s array.
 
size_t ixbelow (double x) const
 Get the index of the closest x knot column <= x (see KnotArray1F)
 
const std::vector< double > & q2s () const
 Access the Q2s array.
 
const std::vector< double > & logq2s () const
 Access the log(Q2)s array.
 
size_t iq2below (double q2) const
 Get the index of the closest Q2 knot row <= q2 (see KnotArray1F)
 

Private Attributes

std::map< int, KnotArray1F_map
 Storage.
 

Detailed Description

A collection of {KnotArray1F}s accessed by PID code.

The "NF" means "> 1 flavour", cf. the KnotArray1F name for a single flavour data array.


The documentation for this class was generated from the following file: