|
|
Go to the documentation of this file.
44 void initPDFSet(
int nset,
int setid,
int member = 0);
47 double xfx(
int nset,
double x,
double Q,
int fl);
48 double getXmin(
int nset,
int member);
49 double getXmax(
int nset,
int member);
50 double getQ2min(
int nset,
int member);
51 double getQ2max(
int nset,
int member);
57 : lheTag_(
pset.getParameter<
edm::
InputTag>(
"lheSrc")), _newECMS(
pset.getParameter<double>(
"NewECMS")) {
58 std::stringstream labelStr;
62 produces<GenEventInfoProduct>(
_label);
80 throw cms::Exception(
"LHECOMWeightProducer") <<
"You cannot reweight COM energy to a higher than original energy ";
110 LogTrace(
"LHECOMWeightProducer") <<
"*******LHECOMWeightProducer*******\n"
111 <<
" Q : " <<
Q <<
"\n"
112 <<
" id1: " <<
id1 <<
"\n"
113 <<
" x1 : " <<
x1 <<
"\n"
114 <<
" x1': " << x1prime <<
"\n"
115 <<
" id2: " <<
id2 <<
"\n"
116 <<
" x2 : " <<
x2 <<
"\n"
117 <<
" x2': " << x2prime;
133 LogTrace(
"LHECOMWeightProducer") <<
" xfx1 : " << oldpdf1 <<
"\n"
134 <<
" xfx2 : " << oldpdf2 <<
"\n"
135 <<
" xfx1': " << newpdf1 <<
"\n"
136 <<
" xfx2': " << newpdf2 <<
"\n"
137 <<
" weight:" << (newpdf1 / oldpdf1) * (newpdf2 / oldpdf2);
138 double weight = (newpdf1 / oldpdf1) * (newpdf2 / oldpdf2);
~LHECOMWeightProducer() override
const lhef::HEPRUP & heprup() const
Log< level::Info, false > LogInfo
std::pair< double, double > EBMUP
void usePDFMember(int nset, int member)
void initPDFSet(int nset, const std::string &filename, int member=0)
double getQ2max(int nset, int member)
#define DEFINE_FWK_MODULE(type)
LHECOMWeightProducer(const edm::ParameterSet &)
void extrapolate(bool extrapolate=true)
static constexpr int verbose
double xfx(int nset, double x, double Q, int fl)
double getXmin(int nset, int member)
std::pair< int, int > PDFGUP
double getQ2min(int nset, int member)
void beginRun(edm::Run const &run, const edm::EventSetup &es) override
const lhef::HEPEUP & hepeup() const
std::pair< int, int > PDFSUP
double getXmax(int nset, int member)
void produce(edm::Event &, const edm::EventSetup &) override
std::vector< FiveVector > PUP