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.)
 

Private Attributes

double error_
 
double value_
 

Detailed Description

Definition at line 33 of file GenLumiInfoProduct.h.

Constructor & Destructor Documentation

◆ XSec() [1/2]

GenLumiInfoProduct::XSec::XSec ( )
inline

Definition at line 35 of file GenLumiInfoProduct.h.

◆ XSec() [2/2]

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

Member Function Documentation

◆ error()

double GenLumiInfoProduct::XSec::error ( ) const
inline

◆ hasError()

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

Definition at line 42 of file GenLumiInfoProduct.h.

References error_.

42 { return error_ >= 0.; }

◆ isSet()

bool GenLumiInfoProduct::XSec::isSet ( ) const
inline

Definition at line 41 of file GenLumiInfoProduct.h.

References value_.

Referenced by operator bool().

41 { return value_ >= 0.; }

◆ operator bool()

GenLumiInfoProduct::XSec::operator bool ( ) const
inline

Definition at line 45 of file GenLumiInfoProduct.h.

References isSet().

45 { return isSet(); }

◆ operator double()

GenLumiInfoProduct::XSec::operator double ( ) const
inline

Definition at line 44 of file GenLumiInfoProduct.h.

References value_.

44 { return value_; }

◆ operator!=()

bool GenLumiInfoProduct::XSec::operator!= ( const XSec other) const
inline

Definition at line 48 of file GenLumiInfoProduct.h.

References trackingPlots::other.

48 { return !(*this == other); }

◆ operator==()

bool GenLumiInfoProduct::XSec::operator== ( const XSec other) const
inline

Definition at line 47 of file GenLumiInfoProduct.h.

References error_, trackingPlots::other, and value_.

◆ value()

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

Member Data Documentation

◆ error_

double GenLumiInfoProduct::XSec::error_
private

Definition at line 51 of file GenLumiInfoProduct.h.

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

◆ value_

double GenLumiInfoProduct::XSec::value_
private

Definition at line 51 of file GenLumiInfoProduct.h.

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