#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 (std::istream &in) | |
LHERunInfo (const HEPRUP &heprup) | |
LHERunInfo (const HEPRUP &heprup, const std::vector< LHERunInfoProduct::Header > &headers, const std::vector< std::string > &comments) | |
LHERunInfo (const LHERunInfoProduct &product) | |
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.
Enumerator | |
---|---|
kTried | |
kSelected | |
kKilled | |
kAccepted |
Definition at line 64 of file LHERunInfo.h.
lhef::LHERunInfo::LHERunInfo | ( | std::istream & | in | ) |
Definition at line 45 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 81 of file LHERunInfo.cc.
References comments, filterCSVwithJSON::copy, headers, and init().
lhef::LHERunInfo::LHERunInfo | ( | const LHERunInfoProduct & | product | ) |
Definition at line 91 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 98 of file LHERunInfo.cc.
|
inline |
|
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 126 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 431 of file LHERunInfo.cc.
References lhef::domToLines(), RecoTauValidation_cfi::header, headers, and makeGlobalPositionRcd_cfg::tag.
Referenced by gen::Pythia6Hadronizer::initializeForExternalPartons().
|
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(), and LHESource::fillRunInfoProduct().
|
inline |
|
inline |
Definition at line 51 of file LHERunInfo.h.
References heprup.
Referenced by edm::HadronizerFilter< HAD, DEC >::endLuminosityBlockProduce(), gen::FortranCallback::fillHeader(), 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 100 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 111 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 >::initializeWithLHERunInfo(), and edm::ConcurrentHadronizerFilter< HAD, DEC >::initLumi().
|
inline |
bool lhef::LHERunInfo::operator== | ( | const LHERunInfo & | other | ) | const |
std::pair< int, int > lhef::LHERunInfo::pdfSetTranslation | ( | ) | const |
Definition at line 524 of file LHERunInfo.cc.
References heprup, lhef::HEPRUP::PDFGUP, and lhef::HEPRUP::PDFSUP.
void lhef::LHERunInfo::statistics | ( | ) | const |
Definition at line 252 of file LHERunInfo.cc.
References bTagMiniDQMTaggers::denominator, alignBH_cfg::fixed, heprup, lhef::HEPRUP::IDWTUP, heavyIonCSV_trainingSettings::idx, LogDebug, groupFilesInBlocks::ntotal, bTagMiniDQMTaggers::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 170 of file LHERunInfo.cc.
References bTagMiniDQMTaggers::denominator, heprup, lhef::HEPRUP::IDWTUP, heavyIonCSV_trainingSettings::idx, groupFilesInBlocks::ntotal, bTagMiniDQMTaggers::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().