CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
GenRunInfoProduct::XSec Struct Reference

#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 (double value, double error=-1.)
 
 XSec (const XSec &other)
 

Private Attributes

double error_
 
double value_
 

Detailed Description

Definition at line 32 of file GenRunInfoProduct.h.

Constructor & Destructor Documentation

GenRunInfoProduct::XSec::XSec ( )
inline

Definition at line 34 of file GenRunInfoProduct.h.

GenRunInfoProduct::XSec::XSec ( double  value,
double  error = -1. 
)
inline

Definition at line 35 of file GenRunInfoProduct.h.

GenRunInfoProduct::XSec::XSec ( const XSec other)
inline

Definition at line 37 of file GenRunInfoProduct.h.

Member Function Documentation

double GenRunInfoProduct::XSec::error ( ) const
inline
bool GenRunInfoProduct::XSec::hasError ( void  ) const
inline

Definition at line 44 of file GenRunInfoProduct.h.

References error_.

44 { return error_ >= 0.; }
bool GenRunInfoProduct::XSec::isSet ( ) const
inline

Definition at line 43 of file GenRunInfoProduct.h.

References value_.

Referenced by operator bool().

43 { return value_ >= 0.; }
GenRunInfoProduct::XSec::operator bool ( ) const
inline

Definition at line 47 of file GenRunInfoProduct.h.

References isSet().

47 { return isSet(); }
GenRunInfoProduct::XSec::operator double ( ) const
inline

Definition at line 46 of file GenRunInfoProduct.h.

References value_.

46 { return value_; }
bool GenRunInfoProduct::XSec::operator!= ( const XSec other) const
inline

Definition at line 51 of file GenRunInfoProduct.h.

References trackingPlots::other.

51 { return !(*this == other); }
bool GenRunInfoProduct::XSec::operator== ( const XSec other) const
inline

Definition at line 49 of file GenRunInfoProduct.h.

References error_, and value_.

50  { return value_ == other.value_ && error_ == other.error_; }
double GenRunInfoProduct::XSec::value ( void  ) const
inline

Member Data Documentation

double GenRunInfoProduct::XSec::error_
private

Definition at line 54 of file GenRunInfoProduct.h.

Referenced by error(), hasError(), and operator==().

double GenRunInfoProduct::XSec::value_
private

Definition at line 54 of file GenRunInfoProduct.h.

Referenced by isSet(), operator double(), operator==(), and value().