#include <LHERunInfo.h>
Classes | |
struct | Counter |
class | Header |
struct | Process |
struct | XSec |
Public Types | |
enum | CountMode { kTried = 0, kSelected, kKilled, kAccepted } |
Public Member Functions | |
void | addComment (const std::string &line) |
void | addHeader (const Header &header) |
void | count (int process, CountMode count, double eventWeight=1.0, double brWeight=1.0, double matchWeight=1.0) |
std::vector< std::string > | findHeader (const std::string &tag) const |
const std::vector< std::string > & | getComments () const |
const std::vector< Header > & | getHeaders () const |
const int | getHEPIDWTUP () const |
const HEPRUP * | getHEPRUP () const |
const std::vector< Process > & | getLumiProcesses () const |
void | initLumi () |
LHERunInfo (const HEPRUP &heprup) | |
LHERunInfo (const HEPRUP &heprup, const std::vector< LHERunInfoProduct::Header > &headers, const std::vector< std::string > &comments) | |
LHERunInfo (const LHERunInfoProduct &product) | |
LHERunInfo (std::istream &in) | |
bool | operator!= (const LHERunInfo &other) const |
bool | operator== (const LHERunInfo &other) const |
std::pair< int, int > | pdfSetTranslation () const |
void | statistics () const |
XSec | xsec () const |
~LHERunInfo () | |
Private Member Functions | |
void | init () |
Private Attributes | |
std::vector< std::string > | comments |
std::vector< Header > | headers |
HEPRUP | heprup |
std::vector< Process > | processes |
std::vector< Process > | processesLumi |
Definition at line 25 of file LHERunInfo.h.
lhef::LHERunInfo::LHERunInfo | ( | std::istream & | in | ) |
Definition at line 38 of file LHERunInfo.cc.
References comments, lhef::HEPRUP::EBMUP, heprup, mps_fire::i, lhef::HEPRUP::IDBMUP, lhef::HEPRUP::IDWTUP, recoMuon::in, init(), mps_splice::line, lhef::HEPRUP::LPRUP, lhef::HEPRUP::NPRUP, lhef::HEPRUP::PDFGUP, lhef::HEPRUP::PDFSUP, lhef::HEPRUP::resize(), skipWhitespace(), AlCaHLTBitMon_QueryRunRegistry::string, lhef::HEPRUP::XERRUP, lhef::HEPRUP::XMAXUP, and lhef::HEPRUP::XSECUP.
lhef::LHERunInfo::LHERunInfo | ( | const HEPRUP & | heprup | ) |
lhef::LHERunInfo::LHERunInfo | ( | const HEPRUP & | heprup, |
const std::vector< LHERunInfoProduct::Header > & | headers, | ||
const std::vector< std::string > & | comments | ||
) |
Definition at line 74 of file LHERunInfo.cc.
References comments, filterCSVwithJSON::copy, headers, and init().
lhef::LHERunInfo::LHERunInfo | ( | const LHERunInfoProduct & | product | ) |
Definition at line 84 of file LHERunInfo.cc.
References comments, LHERunInfoProduct::comments_begin(), LHERunInfoProduct::comments_end(), filterCSVwithJSON::copy, headers, LHERunInfoProduct::headers_begin(), LHERunInfoProduct::headers_end(), and init().
lhef::LHERunInfo::~LHERunInfo | ( | ) |
Definition at line 91 of file LHERunInfo.cc.
|
inline |
Definition at line 62 of file LHERunInfo.h.
References comments, and mps_splice::line.
|
inline |
Definition at line 61 of file LHERunInfo.h.
References RecoTauValidation_cfi::header, and headers.
Referenced by lhef::LHEReader::next().
void lhef::LHERunInfo::count | ( | int | process, |
CountMode | count, | ||
double | eventWeight = 1.0 , |
||
double | brWeight = 1.0 , |
||
double | matchWeight = 1.0 |
||
) |
Definition at line 119 of file LHERunInfo.cc.
References kAccepted, kKilled, kSelected, kTried, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, ValidateTausOnZEEFastSim_cff::proc, LaserDQM_cfg::process, processes, and processesLumi.
std::vector< std::string > lhef::LHERunInfo::findHeader | ( | const std::string & | tag | ) | const |
Definition at line 434 of file LHERunInfo.cc.
References lhef::domToLines(), RecoTauValidation_cfi::header, headers, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by Herwig6Hadronizer::initialize(), gen::Pythia6Hadronizer::initializeForExternalPartons(), and Herwig6Hadronizer::readSettings().
|
inline |
Definition at line 57 of file LHERunInfo.h.
References comments.
Referenced by LH5Source::fillRunInfoProduct(), and LHESource::fillRunInfoProduct().
|
inline |
Definition at line 56 of file LHERunInfo.h.
References headers.
Referenced by LH5Source::fillRunInfoProduct(), LHESource::fillRunInfoProduct(), and Herwig6Hadronizer::upInit().
|
inline |
Definition at line 164 of file LHERunInfo.h.
References heprup, and lhef::HEPRUP::IDWTUP.
|
inline |
Definition at line 51 of file LHERunInfo.h.
References heprup.
Referenced by edm::HadronizerFilter< HAD, DEC >::endLuminosityBlockProduce(), gen::FortranCallback::fillHeader(), Herwig6Hadronizer::readSettings(), JetMatchingHook::setLHERunInfo(), and edm::ConcurrentHadronizerFilter< HAD, DEC >::streamEndLuminosityBlockSummary().
|
inline |
Definition at line 163 of file LHERunInfo.h.
References processesLumi.
Referenced by edm::HadronizerFilter< HAD, DEC >::endLuminosityBlockProduce(), and edm::ConcurrentHadronizerFilter< HAD, DEC >::streamEndLuminosityBlockSummary().
|
private |
Definition at line 93 of file LHERunInfo.cc.
References heprup, mps_fire::i, lhef::HEPRUP::LPRUP, lhef::HEPRUP::NPRUP, ValidateTausOnZEEFastSim_cff::proc, processes, and jetUpdater_cfi::sort.
Referenced by LHERunInfo().
void lhef::LHERunInfo::initLumi | ( | ) |
Definition at line 104 of file LHERunInfo.cc.
References heprup, mps_fire::i, lhef::HEPRUP::LPRUP, lhef::HEPRUP::NPRUP, ValidateTausOnZEEFastSim_cff::proc, processesLumi, jetUpdater_cfi::sort, lhef::HEPRUP::XERRUP, and lhef::HEPRUP::XSECUP.
Referenced by edm::HadronizerFilter< HAD, DEC >::beginLuminosityBlockProduce(), edm::HadronizerFilter< HAD, DEC >::beginRun(), edm::ConcurrentHadronizerFilter< HAD, DEC >::initLumi(), and edm::ConcurrentHadronizerFilter< HAD, DEC >::streamBeginRun().
|
inline |
bool lhef::LHERunInfo::operator== | ( | const LHERunInfo & | other | ) | const |
Definition at line 117 of file LHERunInfo.cc.
References heprup, and trackingPlots::other.
std::pair< int, int > lhef::LHERunInfo::pdfSetTranslation | ( | ) | const |
Definition at line 527 of file LHERunInfo.cc.
References heprup, lhef::HEPRUP::PDFGUP, and lhef::HEPRUP::PDFSUP.
Referenced by Herwig6Hadronizer::initialize(), and Herwig6Hadronizer::readSettings().
void lhef::LHERunInfo::statistics | ( | ) | const |
Definition at line 252 of file LHERunInfo.cc.
References HLTTauDQMOffline_cfi::denominator, alignBH_cfg::fixed, heprup, lhef::HEPRUP::IDWTUP, heavyIonCSV_trainingSettings::idx, LogDebug, groupFilesInBlocks::ntotal, HLTTauDQMOffline_cfi::numerator, funct::pow(), ValidateTausOnZEEFastSim_cff::proc, processes, mathSSE::sqrt(), lhef::HEPRUP::XERRUP, and lhef::HEPRUP::XSECUP.
Referenced by edm::HadronizerFilter< HAD, DEC >::endRunProduce(), and edm::ConcurrentHadronizerFilter< HAD, DEC >::streamEndRun().
LHERunInfo::XSec lhef::LHERunInfo::xsec | ( | ) | const |
Definition at line 163 of file LHERunInfo.cc.
References HLTTauDQMOffline_cfi::denominator, heprup, lhef::HEPRUP::IDWTUP, heavyIonCSV_trainingSettings::idx, groupFilesInBlocks::ntotal, HLTTauDQMOffline_cfi::numerator, funct::pow(), ValidateTausOnZEEFastSim_cff::proc, processes, mps_fire::result, mathSSE::sqrt(), lhef::HEPRUP::XERRUP, and lhef::HEPRUP::XSECUP.
Referenced by edm::HadronizerFilter< HAD, DEC >::endRunProduce(), and edm::ConcurrentHadronizerFilter< HAD, DEC >::streamEndRun().
|
private |
Definition at line 160 of file LHERunInfo.h.
Referenced by addComment(), getComments(), and LHERunInfo().
|
private |
Definition at line 159 of file LHERunInfo.h.
Referenced by addHeader(), findHeader(), getHeaders(), LHERunInfo(), Formatter.SimpleHTMLFormatter::showLine(), Formatter.SimpleHTMLFormatter::write(), Formatter.SimpleHTMLFormatter::writeAnchor(), Formatter.SimpleHTMLFormatter::writeB(), Formatter.SimpleHTMLFormatter::writeBr(), Formatter.SimpleHTMLFormatter::writeH1(), Formatter.SimpleHTMLFormatter::writeH2(), and Formatter.SimpleHTMLFormatter::writeH3().
|
private |
Definition at line 157 of file LHERunInfo.h.
Referenced by getHEPIDWTUP(), getHEPRUP(), init(), initLumi(), LHERunInfo(), operator==(), pdfSetTranslation(), statistics(), and xsec().
|
private |
Definition at line 158 of file LHERunInfo.h.
Referenced by count(), init(), statistics(), and xsec().
|
private |
Definition at line 168 of file LHERunInfo.h.
Referenced by count(), getLumiProcesses(), and initLumi().