#include <GenRunInfoProduct.h>
Public Member Functions | |
double | error () const |
bool | hasError () const |
bool | isSet () const |
operator bool () const | |
operator double () const | |
bool | operator!= (const XSec &other) const |
bool | operator== (const XSec &other) const |
double | value () const |
XSec () | |
XSec (const XSec &other) | |
XSec (double value, double error=-1.) | |
Private Attributes | |
double | error_ |
double | value_ |
Definition at line 33 of file GenRunInfoProduct.h.
GenRunInfoProduct::XSec::XSec | ( | ) | [inline] |
Definition at line 35 of file GenRunInfoProduct.h.
GenRunInfoProduct::XSec::XSec | ( | double | value, |
double | error = -1. |
||
) | [inline] |
GenRunInfoProduct::XSec::XSec | ( | const XSec & | other | ) | [inline] |
Definition at line 38 of file GenRunInfoProduct.h.
double GenRunInfoProduct::XSec::error | ( | ) | const [inline] |
bool GenRunInfoProduct::XSec::hasError | ( | void | ) | const [inline] |
bool GenRunInfoProduct::XSec::isSet | ( | ) | const [inline] |
Definition at line 44 of file GenRunInfoProduct.h.
References value_.
Referenced by operator bool().
{ return value_ >= 0.; }
GenRunInfoProduct::XSec::operator bool | ( | ) | const [inline] |
GenRunInfoProduct::XSec::operator double | ( | ) | const [inline] |
bool GenRunInfoProduct::XSec::operator!= | ( | const XSec & | other | ) | const [inline] |
Definition at line 52 of file GenRunInfoProduct.h.
{ return !(*this == other); }
bool GenRunInfoProduct::XSec::operator== | ( | const XSec & | other | ) | const [inline] |
double GenRunInfoProduct::XSec::value | ( | ) | const [inline] |
Definition at line 41 of file GenRunInfoProduct.h.
References value_.
Referenced by GenRunInfoProduct::crossSection().
{ return value_; }
double GenRunInfoProduct::XSec::error_ [private] |
Definition at line 55 of file GenRunInfoProduct.h.
Referenced by error(), hasError(), and operator==().
double GenRunInfoProduct::XSec::value_ [private] |
Definition at line 55 of file GenRunInfoProduct.h.
Referenced by isSet(), operator double(), operator==(), and value().