#include <LHERunInfoProduct.h>
Classes | |
class | const_iterator |
class | Header |
Public Types | |
typedef std::vector< std::string >::const_iterator | comments_const_iterator |
typedef std::vector< Header >::const_iterator | headers_const_iterator |
typedef std::vector< Header >::size_type | size_type |
typedef std::vector< std::pair< std::string, std::string > > | weights_defs |
Public Member Functions | |
void | addComment (const std::string &line) |
void | addHeader (const Header &header) |
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 |
bool | find_if_checklist (const std::string x, std::vector< std::string > checklist) |
headers_const_iterator | headers_begin () const |
headers_const_iterator | headers_end () const |
size_type | headers_size () const |
const lhef::HEPRUP & | heprup () const |
const_iterator | init () const |
bool | isProductEqual (const LHERunInfoProduct &other) const |
LHERunInfoProduct () | |
LHERunInfoProduct (const lhef::HEPRUP &heprup) | |
bool | mergeProduct (const LHERunInfoProduct &other) |
bool | operator!= (const LHERunInfoProduct &other) const |
bool | operator== (const LHERunInfoProduct &other) const |
~LHERunInfoProduct () | |
Static Public Member Functions | |
static const std::string & | endOfFile () |
static bool | isTagComparedInMerge (const std::string &tag) |
Private Attributes | |
std::vector< std::string > | comments_ |
std::vector< Header > | headers_ |
lhef::HEPRUP | heprup_ |
Definition at line 13 of file LHERunInfoProduct.h.
typedef std::vector<std::string>::const_iterator LHERunInfoProduct::comments_const_iterator |
Definition at line 47 of file LHERunInfoProduct.h.
typedef std::vector<Header>::const_iterator LHERunInfoProduct::headers_const_iterator |
Definition at line 45 of file LHERunInfoProduct.h.
typedef std::vector<Header>::size_type LHERunInfoProduct::size_type |
Definition at line 44 of file LHERunInfoProduct.h.
typedef std::vector<std::pair<std::string,std::string> > LHERunInfoProduct::weights_defs |
Definition at line 15 of file LHERunInfoProduct.h.
|
inline |
Definition at line 49 of file LHERunInfoProduct.h.
|
inline |
Definition at line 50 of file LHERunInfoProduct.h.
|
inline |
Definition at line 51 of file LHERunInfoProduct.h.
References checklist, find_if_checklist(), AlCaHLTBitMon_QueryRunRegistry::string, and x.
|
inline |
Definition at line 56 of file LHERunInfoProduct.h.
References comments_.
Referenced by LHESource::beginRun(), ExternalLHEProducer::beginRunProduce(), LHESource::nextEvent(), and ExternalLHEProducer::produce().
|
inline |
Definition at line 55 of file LHERunInfoProduct.h.
References headers_.
Referenced by LHESource::beginRun(), ExternalLHEProducer::beginRunProduce(), mergeProduct(), LHESource::nextEvent(), and ExternalLHEProducer::produce().
LHERunInfoProduct::const_iterator LHERunInfoProduct::begin | ( | void | ) | const |
Definition at line 138 of file LHERunInfoProduct.cc.
References LHERunInfoProduct::const_iterator::header, headers_begin(), LHERunInfoProduct::const_iterator::kHeader, LHERunInfoProduct::const_iterator::line, LHERunInfoProduct::const_iterator::mode, mps_fire::result, LHERunInfoProduct::const_iterator::runInfo, and LHERunInfoProduct::const_iterator::tmp.
Referenced by LHEWriter::endRun(), and mergeProduct().
|
inline |
Definition at line 65 of file LHERunInfoProduct.h.
References comments_.
Referenced by lhef::LHERunInfo::LHERunInfo(), and LHERunInfoProduct::const_iterator::next().
|
inline |
Definition at line 66 of file LHERunInfoProduct.h.
References comments_.
Referenced by lhef::LHERunInfo::LHERunInfo().
|
inline |
Definition at line 64 of file LHERunInfoProduct.h.
References comments_.
Referenced by LHERunInfoProduct::const_iterator::next().
|
inline |
Definition at line 114 of file LHERunInfoProduct.h.
References endOfFile(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by LHEWriter::endRun(), and mergeProduct().
|
static |
Definition at line 163 of file LHERunInfoProduct.cc.
References a, b, LHERunInfoProduct::Header::begin(), LHERunInfoProduct::Header::end(), SiStripPI::max, AlCaHLTBitMon_QueryRunRegistry::string, and LHERunInfoProduct::Header::tag().
Referenced by end(), LHEWriter::endRun(), and EmbeddingLHEProducer::endRunProduce().
bool LHERunInfoProduct::find_if_checklist | ( | const std::string | x, |
std::vector< std::string > | checklist | ||
) |
Definition at line 211 of file LHERunInfoProduct.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and y.
Referenced by mergeProduct(), and ~LHERunInfoProduct().
|
inline |
Definition at line 61 of file LHERunInfoProduct.h.
References headers_.
Referenced by begin(), HTXSRivetProducer::beginRun(), GenWeightsTableProducer::globalBeginRun(), lhef::LHERunInfo::LHERunInfo(), and mergeProduct().
|
inline |
Definition at line 62 of file LHERunInfoProduct.h.
References headers_.
Referenced by HTXSRivetProducer::beginRun(), GenWeightsTableProducer::globalBeginRun(), lhef::LHERunInfo::LHERunInfo(), mergeProduct(), and LHERunInfoProduct::const_iterator::next().
|
inline |
|
inline |
Definition at line 58 of file LHERunInfoProduct.h.
References heprup_.
Referenced by LHECOMWeightProducer::beginRun(), GenXSecAnalyzer::endRun(), LHERunInfoProduct::const_iterator::next(), and LHE2HepMCConverter::produce().
LHERunInfoProduct::const_iterator LHERunInfoProduct::init | ( | void | ) | const |
|
inline |
Definition at line 124 of file LHERunInfoProduct.h.
References isTagComparedInMerge(), trackingPlots::other, AlCaHLTBitMon_QueryRunRegistry::string, and LHERunInfoProduct::Header::tag().
|
static |
Definition at line 216 of file LHERunInfoProduct.cc.
Referenced by isProductEqual(), edm::LHEProvenanceHelper::lheAugment(), and mergeProduct().
bool LHERunInfoProduct::mergeProduct | ( | const LHERunInfoProduct & | other | ) |
Definition at line 220 of file LHERunInfoProduct.cc.
References addHeader(), begin(), checklist, popcon2dropbox::copy(), lhef::HEPRUP::EBMUP, end(), cond::serialization::equal(), runEdmFileComparison::failed, find_if_checklist(), LHERunInfoProduct::const_iterator::header, headers_, headers_begin(), headers_end(), heprup_, lhef::HEPRUP::IDBMUP, lhef::HEPRUP::IDWTUP, isTagComparedInMerge(), lhef::HEPRUP::PDFGUP, lhef::HEPRUP::PDFSUP, AlCaHLTBitMon_QueryRunRegistry::string, tag_comparison_checklist, and x.
Referenced by operator!=().
|
inline |
Definition at line 120 of file LHERunInfoProduct.h.
References mergeProduct(), and trackingPlots::other.
|
inline |
|
private |
Definition at line 131 of file LHERunInfoProduct.h.
Referenced by addComment(), comments_begin(), comments_end(), comments_size(), and operator==().
|
private |
Definition at line 130 of file LHERunInfoProduct.h.
Referenced by addHeader(), headers_begin(), headers_end(), headers_size(), mergeProduct(), and operator==().
|
private |
Definition at line 129 of file LHERunInfoProduct.h.
Referenced by heprup(), mergeProduct(), and operator==().