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

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.

36 : value_(-1.), error_(-1.) {}

◆ XSec() [2/3]

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

Definition at line 37 of file GenLumiInfoProduct.h.

37 : value_(v), error_(e) {}

◆ XSec() [3/3]

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

Definition at line 38 of file GenLumiInfoProduct.h.

38 : value_(other.value_), error_(other.error_) {}

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.

44 { return error_ >= 0.; }

References error_.

◆ isSet()

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

Definition at line 43 of file GenLumiInfoProduct.h.

43 { return value_ >= 0.; }

References value_.

Referenced by operator bool().

◆ operator bool()

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

Definition at line 47 of file GenLumiInfoProduct.h.

47 { return isSet(); }

References isSet().

◆ operator double()

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

Definition at line 46 of file GenLumiInfoProduct.h.

46 { return value_; }

References value_.

◆ operator!=()

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

Definition at line 50 of file GenLumiInfoProduct.h.

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

References trackingPlots::other.

◆ operator==()

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

Definition at line 49 of file GenLumiInfoProduct.h.

49 { return value_ == other.value_ && error_ == other.error_; }

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

findQualityFiles.v
v
Definition: findQualityFiles.py:179
GenLumiInfoProduct::XSec::isSet
bool isSet() const
Definition: GenLumiInfoProduct.h:43
GenLumiInfoProduct::XSec::value_
double value_
Definition: GenLumiInfoProduct.h:53
trackingPlots.other
other
Definition: trackingPlots.py:1460
GenLumiInfoProduct::XSec::error_
double error_
Definition: GenLumiInfoProduct.h:53
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37