![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef PDFSCALEFACTORCALCULATOR
6 #define PDFSCALEFACTORCALCULATOR
11 #include <unordered_map>
17 #pragma GCC diagnostic push
19 #pragma GCC diagnostic ignored "-Wunused-local-typedefs"
20 #include "LHAPDF/LHAPDF.h"
22 #pragma GCC diagnostic pop
23 #include "LHAPDF/PDFSet.h"
66 for (
const std::string& pdfname : LHAPDF::availablePDFSets())
90 std::vector< std::unique_ptr<const LHAPDF::PDF> >
pdf_members = {};
TopConfig A simple configuration that is NOT a singleton.
PDFScaleFactorCalculator(PDFScaleFactorCalculator &&rhs)=delete
StatusCode initialize()
Dummy implementation of the initialisation function.
std::shared_ptr< top::TopConfig > m_config
PDFScaleFactorCalculator & operator=(const PDFScaleFactorCalculator &rhs)=delete
PDFSet(const std::string &name)
std::unordered_map< std::string, PDFSet > m_pdf_sets
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< float > sum_of_event_weights
void printAvailablePDFs() const
Print a list of the available PDFs to the screen.
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
std::vector< std::string > m_pdf_names
std::string m_base_pdf_name
int numberInSet(const std::string &name) const
std::vector< float > event_weights
PDFScaleFactorCalculator(const std::string &name)
virtual ~PDFScaleFactorCalculator()
PDFScaleFactorCalculator(const PDFScaleFactorCalculator &rhs)=delete
std::vector< std::unique_ptr< const LHAPDF::PDF > > pdf_members
For testing PDF reweighting with LHAPDF6.