TIMBER  beta
Tree Interface for Making Binned Events with RDataFrame
Public Member Functions | List of all members
PDFweight_uncert Class Reference

C++ class. PDF weight uncertainty lookup class. More...

Public Member Functions

 PDFweight_uncert (int lhaID, bool ignoreEmptyBranch=false)
 Construct a new PDF weight uncertainty lookup object. More...
 
std::vector< float > eval (RVec< float > LHEPdfWeight)
 Per-event evaluation function. More...
 

Detailed Description

C++ class. PDF weight uncertainty lookup class.

Accounts for hessians vs replicas by using LHA ID.

Constructor & Destructor Documentation

◆ PDFweight_uncert()

PDFweight_uncert ( int  lhaID,
bool  ignoreEmptyBranch = false 
)

Construct a new PDF weight uncertainty lookup object.

Parameters
lhaIDLHA ID for the PDF set used to determine whether set is Hessian eigenvectors or MC replicas.
ignoreEmptyBranchIgnores error that LHEPdfWeight branch is empty. Defaults to false.

Member Function Documentation

◆ eval()

std::vector< float > eval ( RVec< float >  LHEPdfWeight)

Per-event evaluation function.

Parameters
LHEPdfWeightThe LHEPdfWeight branch/column.
Returns
std::vector<float> {up, down} uncertainties in PDF weight.

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