CMS 3D CMS Logo

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

#include <GenLumiInfoProduct.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 v, double e=-1.)
 
 XSec (const XSec &other)
 

Private Attributes

double error_
 
double value_
 

Detailed Description

Definition at line 33 of file GenLumiInfoProduct.h.

Constructor & Destructor Documentation

GenLumiInfoProduct::XSec::XSec ( )
inline
GenLumiInfoProduct::XSec::XSec ( double  v,
double  e = -1. 
)
inline
GenLumiInfoProduct::XSec::XSec ( const XSec other)
inline

Definition at line 38 of file GenLumiInfoProduct.h.

Member Function Documentation

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

Definition at line 45 of file GenLumiInfoProduct.h.

References error_.

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

Definition at line 44 of file GenLumiInfoProduct.h.

References value_.

Referenced by operator bool().

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

Definition at line 48 of file GenLumiInfoProduct.h.

References isSet().

48 { return isSet(); }
GenLumiInfoProduct::XSec::operator double ( ) const
inline

Definition at line 47 of file GenLumiInfoProduct.h.

References value_.

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

Definition at line 52 of file GenLumiInfoProduct.h.

References trackingPlots::other.

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

Definition at line 50 of file GenLumiInfoProduct.h.

References error_, and value_.

double GenLumiInfoProduct::XSec::value ( void  ) const
inline

Member Data Documentation

double GenLumiInfoProduct::XSec::error_
private

Definition at line 55 of file GenLumiInfoProduct.h.

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

double GenLumiInfoProduct::XSec::value_
private

Definition at line 55 of file GenLumiInfoProduct.h.

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