7#ifndef LHAPDF_Reweighting_H
8#define LHAPDF_Reweighting_H
10#include "LHAPDF/PDF.h"
11#include "LHAPDF/PDFSet.h"
21 if (
aschk < 0)
return true;
25 std::cerr <<
"WARNING: alpha_s(Q2) mismatch in PDF reweighting "
26 <<
"at Q2 = " <<
Q2 <<
" GeV2:\n "
27 <<
as_a <<
" for " <<
pdfa.set().name() <<
"/" <<
pdfa.memberID() <<
" vs. "
28 <<
as_b <<
" for " <<
pdfb.set().name() <<
"/" <<
pdfb.memberID()
51 template <
typename PDFPTR>
66 template <
typename PDFPTR>
90 template <
typename PDFPTR>
105 template <
typename PDFPTR>
PDF is the general interface for access to parton density information.
Definition PDF.h:40
double weightxxQ2(int id1, int id2, double x1, double x2, double Q2, const PDF &basepdf, const PDF &newpdf, double aschk=5e-2)
Definition Reweighting.h:80
double weightxxQ(int id1, int id2, double x1, double x2, double Q, const PDF &basepdf, const PDF &newpdf, double aschk=5e-2)
Definition Reweighting.h:98
double weightxQ2(int id, double x, double Q2, const PDF &basepdf, const PDF &newpdf, double aschk=5e-2)
Definition Reweighting.h:41
double weightxQ(int id, double x, double Q, const PDF &basepdf, const PDF &newpdf, double aschk=5e-2)
Definition Reweighting.h:59
N sqr(const N &x)
Convenience function for squaring (of any type)
Definition Utils.h:208
T lexical_cast(const U &in)
Convert between types via stringstream.
Definition Utils.h:47
Namespace for all LHAPDF functions and classes.
Definition AlphaS.h:14