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 34 of file GenLumiInfoProduct.h.

Constructor & Destructor Documentation

◆ XSec() [1/3]

GenLumiInfoProduct::XSec::XSec ( )
inline

Definition at line 36 of file GenLumiInfoProduct.h.

◆ XSec() [2/3]

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

◆ XSec() [3/3]

GenLumiInfoProduct::XSec::XSec ( const XSec other)
inline

Definition at line 38 of file GenLumiInfoProduct.h.

Member Function Documentation

◆ error()

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

◆ hasError()

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

Definition at line 44 of file GenLumiInfoProduct.h.

References error_.

44 { return error_ >= 0.; }

◆ isSet()

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

Definition at line 43 of file GenLumiInfoProduct.h.

References value_.

Referenced by operator bool().

43 { return value_ >= 0.; }

◆ operator bool()

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

Definition at line 47 of file GenLumiInfoProduct.h.

References isSet().

47 { return isSet(); }

◆ operator double()

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

Definition at line 46 of file GenLumiInfoProduct.h.

References value_.

46 { return value_; }

◆ operator!=()

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

Definition at line 50 of file GenLumiInfoProduct.h.

References trackingPlots::other.

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

◆ operator==()

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

Definition at line 49 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 53 of file GenLumiInfoProduct.h.

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

◆ value_

double GenLumiInfoProduct::XSec::value_
private

Definition at line 53 of file GenLumiInfoProduct.h.

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