#include <PdfWeightProducerTool.h>
Public Member Functions | |
void | addPdfSet (const std::string &name) |
void | beginJob () |
const std::vector< double > & | getWeights (const std::string &name) const |
PdfWeightProducerTool () | |
void | processEvent (const GenEventInfoProduct &pdfstuff) |
Private Attributes | |
std::vector< std::string > | pdfs_ |
std::map< std::string, std::vector< double > > | weights_ |
Definition at line 16 of file PdfWeightProducerTool.h.
|
inline |
Definition at line 18 of file PdfWeightProducerTool.h.
References addPdfSet(), beginJob(), getWeights(), dataset::name, processEvent(), and AlCaHLTBitMon_QueryRunRegistry::string.
void heppy::PdfWeightProducerTool::addPdfSet | ( | const std::string & | name | ) |
Definition at line 18 of file PdfWeightProducerTool.cc.
References dataset::name.
Referenced by PdfWeightProducerTool().
void heppy::PdfWeightProducerTool::beginJob | ( | void | ) |
Definition at line 23 of file PdfWeightProducerTool.cc.
References mps_fire::i, LHAPDF::initPDFSet(), and gen::n.
Referenced by PdfWeightProducerTool().
const std::vector< double > & heppy::PdfWeightProducerTool::getWeights | ( | const std::string & | name | ) | const |
Definition at line 55 of file PdfWeightProducerTool.cc.
References match().
Referenced by PdfWeightProducerTool().
void heppy::PdfWeightProducerTool::processEvent | ( | const GenEventInfoProduct & | pdfstuff | ) |
Definition at line 29 of file PdfWeightProducerTool.cc.
References mps_fire::i, gen::PdfInfo::id, gen::n, LHAPDF::numberPDF(), GenEventInfoProduct::pdf(), class-composition::Q, gen::PdfInfo::scalePDF, LHAPDF::usePDFMember(), create_public_lumi_plots::weights, gen::PdfInfo::x, LHAPDF::xfx(), and gen::PdfInfo::xPDF.
Referenced by PdfWeightProducerTool().
|
private |
Definition at line 24 of file PdfWeightProducerTool.h.
|
private |
Definition at line 25 of file PdfWeightProducerTool.h.