#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 |
void | swap (LHERunInfoProduct &other) |
~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 44 of file LHERunInfoProduct.h.
typedef std::vector<Header>::const_iterator LHERunInfoProduct::headers_const_iterator |
Definition at line 43 of file LHERunInfoProduct.h.
typedef std::vector<Header>::size_type LHERunInfoProduct::size_type |
Definition at line 42 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 46 of file LHERunInfoProduct.h.
|
inline |
Definition at line 47 of file LHERunInfoProduct.h.
|
inline |
Definition at line 48 of file LHERunInfoProduct.h.
|
inline |
Definition at line 53 of file LHERunInfoProduct.h.
References comments_, and mps_splice::line.
Referenced by LH5Source::fillRunInfoProduct(), LHESource::fillRunInfoProduct(), and ExternalLHEProducer::generateRunInfo().
|
inline |
Definition at line 52 of file LHERunInfoProduct.h.
References RecoTauValidation_cfi::header, and headers_.
Referenced by LH5Source::fillRunInfoProduct(), LHESource::fillRunInfoProduct(), ExternalLHEProducer::generateRunInfo(), and mergeProduct().
LHERunInfoProduct::const_iterator LHERunInfoProduct::begin | ( | void | ) | const |
Definition at line 115 of file LHERunInfoProduct.cc.
References headers_begin(), LHERunInfoProduct::const_iterator::kHeader, and mps_fire::result.
Referenced by LHEWriter::endRun(), and mergeProduct().
|
inline |
Definition at line 62 of file LHERunInfoProduct.h.
References comments_.
Referenced by lhef::LHERunInfo::LHERunInfo().
|
inline |
Definition at line 63 of file LHERunInfoProduct.h.
References comments_.
Referenced by lhef::LHERunInfo::LHERunInfo().
|
inline |
|
inline |
Definition at line 109 of file LHERunInfoProduct.h.
Referenced by LHEWriter::endRun(), and mergeProduct().
|
static |
Definition at line 138 of file LHERunInfoProduct.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by LHEWriter::endRun(), and EmbeddingLHEProducer::endRunProduce().
bool LHERunInfoProduct::find_if_checklist | ( | const std::string | x, |
std::vector< std::string > | checklist | ||
) |
Definition at line 182 of file LHERunInfoProduct.cc.
References checklist, AlCaHLTBitMon_QueryRunRegistry::string, x, and y.
Referenced by mergeProduct().
|
inline |
Definition at line 58 of file LHERunInfoProduct.h.
References headers_.
Referenced by begin(), RivetAnalyzer::beginRun(), HTXSRivetProducer::beginRun(), lhef::LHERunInfo::LHERunInfo(), and mergeProduct().
|
inline |
Definition at line 59 of file LHERunInfoProduct.h.
References headers_.
Referenced by RivetAnalyzer::beginRun(), HTXSRivetProducer::beginRun(), lhef::LHERunInfo::LHERunInfo(), and mergeProduct().
|
inline |
|
inline |
Definition at line 55 of file LHERunInfoProduct.h.
References heprup_.
Referenced by LHECOMWeightProducer::beginRun(), LHERunInfoProduct::const_iterator::next(), and LHE2HepMCConverter::produce().
LHERunInfoProduct::const_iterator LHERunInfoProduct::init | ( | void | ) | const |
Definition at line 127 of file LHERunInfoProduct.cc.
References LHERunInfoProduct::const_iterator::kInit, and mps_fire::result.
|
inline |
|
static |
Definition at line 188 of file LHERunInfoProduct.cc.
References GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by edm::LHEProvenanceHelper::lheAugment(), and mergeProduct().
bool LHERunInfoProduct::mergeProduct | ( | const LHERunInfoProduct & | other | ) |
Definition at line 193 of file LHERunInfoProduct.cc.
References addHeader(), begin(), checklist, filterCSVwithJSON::copy, lhef::HEPRUP::EBMUP, end(), cond::serialization::equal(), runEdmFileComparison::failed, find_if_checklist(), RecoTauValidation_cfi::header, getRunAppsInfo::headers, headers_, headers_begin(), headers_end(), heprup_, lhef::HEPRUP::IDBMUP, lhef::HEPRUP::IDWTUP, isTagComparedInMerge(), trackingPlots::other, lhef::HEPRUP::PDFGUP, lhef::HEPRUP::PDFSUP, AlCaHLTBitMon_QueryRunRegistry::string, tag_comparison_checklist, and x.
|
inline |
|
inline |
void LHERunInfoProduct::swap | ( | LHERunInfoProduct & | other | ) |
Definition at line 278 of file LHERunInfoProduct.cc.
References comments_, headers_, heprup_, trackingPlots::other, and lhef::HEPRUP::swap().
|
private |
Definition at line 126 of file LHERunInfoProduct.h.
Referenced by addComment(), comments_begin(), comments_end(), comments_size(), operator==(), and swap().
|
private |
Definition at line 125 of file LHERunInfoProduct.h.
Referenced by addHeader(), headers_begin(), headers_end(), headers_size(), mergeProduct(), operator==(), and swap().
|
private |
Definition at line 124 of file LHERunInfoProduct.h.
Referenced by heprup(), mergeProduct(), operator==(), and swap().