#include <AlpgenHeader.h>
Public Types | |
enum | Masses { mc = 0, mb, mt, mw, mz, mh, MASS_MAX } |
enum | Parameter { ih2 = 2, ebeam = 3, ndns = 4, iqopt = 5, qfac = 6, ickkw = 7, ktfac = 8, njets = 10, ihvy = 11, ihvy2 = 12, nw = 13, nz = 14, nh = 15, nph = 16, ptjmin = 30, ptbmin = 31, ptcmin = 32, ptlmin = 33, metmin = 34, ptphmin = 35, etajmax = 40, etabmax = 41, etacmax = 42, etalmax = 43, etaphmax = 44, drjmin = 50, drbmin = 51, drcmin = 52, drlmin = 55, drphjmin = 56, drphlmin = 57, drphmin = 58, mllmin = 61, mllmax = 62, iseed1 = 90, iseed2 = 91, itopprc = 102, cluopt = 160, iseed3 = 190, iseed4 = 191 } |
Public Member Functions | |
bool | parse (const std::vector< std::string >::const_iterator &begin, const std::vector< std::string >::const_iterator &end) |
Static Public Member Functions | |
static std::string | parameterName (Parameter index) |
Public Attributes | |
unsigned int | ihrd |
double | lumi |
double | masses [MASS_MAX] |
double | nEvents |
std::map< Parameter, double > | params |
double | xsec |
double | xsecErr |
A structure that can parse and represent the contents of an ALPGEN _unw.par run information file.
Definition at line 10 of file AlpgenHeader.h.
enum AlpgenHeader::Masses |
Enumerator | |
---|---|
mc | |
mb | |
mt | |
mw | |
mz | |
mh | |
MASS_MAX |
Definition at line 58 of file AlpgenHeader.h.
Definition at line 11 of file AlpgenHeader.h.
|
static |
Function to return the human-readable names of ALPGEN parameters.
Definition at line 142 of file AlpgenHeader.cc.
References spr::find(), createfilelist::int, findQualityFiles::size, and contentValuesCheck::ss.
Referenced by AlpgenSource::getParameter().
bool AlpgenHeader::parse | ( | const std::vector< std::string >::const_iterator & | begin, |
const std::vector< std::string >::const_iterator & | end | ||
) |
A function to parse a std::<vector<std::string> containing a _unw.par ALPGEN file, and store it in the internal structure.
Definition at line 62 of file AlpgenHeader.cc.
References SplitLinear::begin, filterCSVwithJSON::copy, mps_fire::end, spr::find(), ihrd, mps_splice::line, masses, nEvents, params, xsec, and xsecErr.
Referenced by AlpgenSource::AlpgenSource(), and gen::JetMatchingAlpgen::init().
unsigned int AlpgenHeader::ihrd |
Definition at line 66 of file AlpgenHeader.h.
Referenced by gen::JetMatchingAlpgen::init(), parse(), AlpgenSource::processID(), and AlpgenSource::produce().
double AlpgenHeader::lumi |
Definition at line 70 of file AlpgenHeader.h.
double AlpgenHeader::masses[MASS_MAX] |
Definition at line 71 of file AlpgenHeader.h.
Referenced by gen::JetMatchingAlpgen::init(), parse(), AlpgenSource::produce(), and AlpgenSource::slhaMassLine().
double AlpgenHeader::nEvents |
Definition at line 69 of file AlpgenHeader.h.
Referenced by looper.Looper::loop(), and parse().
std::map<Parameter, double> AlpgenHeader::params |
Definition at line 65 of file AlpgenHeader.h.
Referenced by AlpgenSource::getParameter(), gen::JetMatchingAlpgen::init(), parse(), and AlpgenSource::produce().
double AlpgenHeader::xsec |
Definition at line 67 of file AlpgenHeader.h.
Referenced by AlpgenSource::beginRun(), and parse().
double AlpgenHeader::xsecErr |
Definition at line 68 of file AlpgenHeader.h.
Referenced by AlpgenSource::beginRun(), and parse().