![]() |
![]() |
#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 66 of file LHERunInfo.h.
lhef::LHERunInfo::LHERunInfo | ( | std::istream & | in | ) |
Definition at line 41 of file LHERunInfo.cc.
lhef::LHERunInfo::LHERunInfo | ( | const HEPRUP & | heprup | ) |
Definition at line 79 of file LHERunInfo.cc.
lhef::LHERunInfo::LHERunInfo | ( | const HEPRUP & | heprup, |
const std::vector< LHERunInfoProduct::Header > & | headers, | ||
const std::vector< std::string > & | comments | ||
) |
Definition at line 85 of file LHERunInfo.cc.
lhef::LHERunInfo::LHERunInfo | ( | const LHERunInfoProduct & | product | ) |
Definition at line 98 of file LHERunInfo.cc.
lhef::LHERunInfo::~LHERunInfo | ( | ) |
Definition at line 109 of file LHERunInfo.cc.
|
inline |
Definition at line 64 of file LHERunInfo.h.
|
inline |
Definition at line 63 of file LHERunInfo.h.
void lhef::LHERunInfo::count | ( | int | process, |
CountMode | count, | ||
double | eventWeight = 1.0 , |
||
double | brWeight = 1.0 , |
||
double | matchWeight = 1.0 |
||
) |
Definition at line 147 of file LHERunInfo.cc.
std::vector< std::string > lhef::LHERunInfo::findHeader | ( | const std::string & | tag | ) | const |
Definition at line 523 of file LHERunInfo.cc.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 52 of file LHERunInfo.h.
References heprup.
Referenced by gen::FortranCallback::fillHeader(), ThePEG::LesHouchesInterface::open(), and JetMatchingHook::setLHERunInfo().
|
inline |
|
private |
Definition at line 113 of file LHERunInfo.cc.
void lhef::LHERunInfo::initLumi | ( | ) |
Definition at line 125 of file LHERunInfo.cc.
|
inline |
Definition at line 55 of file LHERunInfo.h.
bool lhef::LHERunInfo::operator== | ( | const LHERunInfo & | other | ) | const |
Definition at line 142 of file LHERunInfo.cc.
std::pair< int, int > lhef::LHERunInfo::pdfSetTranslation | ( | ) | const |
Definition at line 635 of file LHERunInfo.cc.
void lhef::LHERunInfo::statistics | ( | ) | const |
Definition at line 297 of file LHERunInfo.cc.
LHERunInfo::XSec lhef::LHERunInfo::xsec | ( | ) | const |
Definition at line 199 of file LHERunInfo.cc.
|
private |
Definition at line 168 of file LHERunInfo.h.
Referenced by getComments().
|
private |
Definition at line 167 of file LHERunInfo.h.
Referenced by getHeaders().
|
private |
Definition at line 165 of file LHERunInfo.h.
Referenced by getHEPRUP().
|
private |
Definition at line 166 of file LHERunInfo.h.
|
private |
Definition at line 175 of file LHERunInfo.h.
Referenced by getLumiProcesses().