#include <LHEEventProduct.h>
Classes | |
class | const_iterator |
Public Types | |
typedef std::vector < std::string > ::const_iterator | comments_const_iterator |
typedef gen::PdfInfo | |
typedef std::vector < std::string >::size_type | size_type |
typedef gen::WeightsInfo | WGT |
Public Member Functions | |
void | addComment (const std::string &line) |
void | addWeight (const WGT &wgt) |
const_iterator | begin () const |
comments_const_iterator | comments_begin () const |
comments_const_iterator | comments_end () const |
size_type | comments_size () const |
const_iterator | end () const |
const lhef::HEPEUP & | hepeup () const |
LHEEventProduct (const lhef::HEPEUP &hepeup) | |
LHEEventProduct (const lhef::HEPEUP &hepeup, const double originalXWGTUP) | |
LHEEventProduct () | |
double | originalXWGTUP () const |
const PDF * | pdf () const |
void | setPDF (const PDF &pdf) |
const std::vector< WGT > & | weights () const |
~LHEEventProduct () | |
Private Attributes | |
std::vector< std::string > | comments_ |
lhef::HEPEUP | hepeup_ |
double | originalXWGTUP_ |
std::auto_ptr< PDF > | pdf_ |
std::vector< WGT > | weights_ |
Definition at line 12 of file LHEEventProduct.h.
typedef std::vector<std::string>::const_iterator LHEEventProduct::comments_const_iterator |
Definition at line 18 of file LHEEventProduct.h.
typedef gen::PdfInfo LHEEventProduct::PDF |
Definition at line 14 of file LHEEventProduct.h.
typedef std::vector<std::string>::size_type LHEEventProduct::size_type |
Definition at line 19 of file LHEEventProduct.h.
typedef gen::WeightsInfo LHEEventProduct::WGT |
Definition at line 15 of file LHEEventProduct.h.
LHEEventProduct::LHEEventProduct | ( | ) | [inline] |
Definition at line 21 of file LHEEventProduct.h.
{}
LHEEventProduct::LHEEventProduct | ( | const lhef::HEPEUP & | hepeup | ) | [inline] |
Definition at line 22 of file LHEEventProduct.h.
: hepeup_(hepeup), originalXWGTUP_(0) {}
LHEEventProduct::LHEEventProduct | ( | const lhef::HEPEUP & | hepeup, |
const double | originalXWGTUP | ||
) | [inline] |
Definition at line 24 of file LHEEventProduct.h.
: hepeup_(hepeup), originalXWGTUP_(originalXWGTUP) {}
LHEEventProduct::~LHEEventProduct | ( | ) | [inline] |
Definition at line 27 of file LHEEventProduct.h.
{}
void LHEEventProduct::addComment | ( | const std::string & | line | ) | [inline] |
Definition at line 33 of file LHEEventProduct.h.
References comments_.
Referenced by ExternalLHEProducer::produce(), and LHESource::readEvent_().
void LHEEventProduct::addWeight | ( | const WGT & | wgt | ) | [inline] |
Definition at line 30 of file LHEEventProduct.h.
References weights_.
Referenced by LHESource::readEvent_().
{ weights_.push_back(wgt); }
LHEEventProduct::const_iterator LHEEventProduct::begin | ( | void | ) | const |
Definition at line 91 of file LHEEventProduct.cc.
References LHEEventProduct::const_iterator::event, LHEEventProduct::const_iterator::line, query::result, and LHEEventProduct::const_iterator::tmp.
comments_const_iterator LHEEventProduct::comments_begin | ( | ) | const [inline] |
Definition at line 42 of file LHEEventProduct.h.
References comments_.
{ return comments_.begin(); }
comments_const_iterator LHEEventProduct::comments_end | ( | ) | const [inline] |
size_type LHEEventProduct::comments_size | ( | ) | const [inline] |
Definition at line 41 of file LHEEventProduct.h.
References comments_.
Referenced by LHEEventProduct::const_iterator::next().
{ return comments_.size(); }
const_iterator LHEEventProduct::end | ( | void | ) | const [inline] |
Definition at line 82 of file LHEEventProduct.h.
{ return const_iterator(); }
const lhef::HEPEUP& LHEEventProduct::hepeup | ( | ) | const [inline] |
Definition at line 38 of file LHEEventProduct.h.
References hepeup_.
Referenced by LHEEventProduct::const_iterator::next().
{ return hepeup_; }
double LHEEventProduct::originalXWGTUP | ( | ) | const [inline] |
Definition at line 35 of file LHEEventProduct.h.
References originalXWGTUP_.
{ return originalXWGTUP_; }
const PDF* LHEEventProduct::pdf | ( | ) | const [inline] |
Definition at line 39 of file LHEEventProduct.h.
References pdf_.
Referenced by LHEEventProduct::const_iterator::next().
{ return pdf_.get(); }
void LHEEventProduct::setPDF | ( | const PDF & | ) | [inline] |
const std::vector<WGT>& LHEEventProduct::weights | ( | ) | const [inline] |
std::vector<std::string> LHEEventProduct::comments_ [private] |
Definition at line 86 of file LHEEventProduct.h.
Referenced by addComment(), comments_begin(), comments_end(), and comments_size().
lhef::HEPEUP LHEEventProduct::hepeup_ [private] |
Definition at line 85 of file LHEEventProduct.h.
Referenced by hepeup().
double LHEEventProduct::originalXWGTUP_ [private] |
Definition at line 89 of file LHEEventProduct.h.
Referenced by originalXWGTUP().
std::auto_ptr<PDF> LHEEventProduct::pdf_ [private] |
Definition at line 87 of file LHEEventProduct.h.
std::vector<WGT> LHEEventProduct::weights_ [private] |
Definition at line 88 of file LHEEventProduct.h.
Referenced by addWeight(), and weights().