Definition at line 22 of file LHAupLesHouches.h.
bool LHAupLesHouches::setEvent |
( |
int |
idProcIn, |
|
|
double |
mRecalculate = -1. |
|
) |
| |
|
private |
Definition at line 38 of file LHAupLesHouches.cc.
References lhef::HEPEUP::AQCDUP, lhef::HEPEUP::AQEDUP, event(), i, lhef::HEPEUP::ICOLUP, gen::PdfInfo::id, lhef::HEPEUP::IDPRUP, lhef::HEPEUP::IDUP, lhef::HEPEUP::ISTUP, lhef::HEPEUP::MOTHUP, lhef::HEPEUP::NUP, lhef::HEPEUP::PUP, gen::PdfInfo::scalePDF, lhef::HEPEUP::SCALUP, lhef::HEPEUP::SPINUP, lhef::HEPEUP::VTIMUP, gen::PdfInfo::x, gen::PdfInfo::xPDF, and lhef::HEPEUP::XWGTUP.
40 if (!
event)
return false;
46 if ( !hepeup.
NUP )
return false;
51 const std::vector<float> &scales =
event->scales();
53 unsigned int iscale = 0;
54 for(
int i = 0;
i < hepeup.
NUP;
i++) {
60 if (scales.size()>0 && hepeup.
ISTUP[
i]==1) {
61 if (iscale>=scales.size()) {
63 <<
"cluster scales for all outgoing partons or for none"
66 scalein = scales[iscale];
80 this->setPdf(pdf->
id.first, pdf->
id.second,
81 pdf->
x.first, pdf->
x.second,
83 pdf->
xPDF.first, pdf->
xPDF.second,
true);
86 this->setPdf(hepeup.
IDUP[0], hepeup.
IDUP[1],
std::pair< double, double > EBMUP
std::pair< double, double > x
std::vector< double > VTIMUP
const int getReadAttempts()
std::pair< double, double > xPDF
std::vector< std::pair< int, int > > MOTHUP
std::vector< FiveVector > PUP
std::vector< double > SPINUP
const HEPRUP * getHEPRUP() const
lhef::LHERunInfo * runInfo
std::vector< std::pair< int, int > > ICOLUP