RAIDA  1.9.0
Public Member Functions | List of all members
AIDA::IRangeSetROOT Class Reference

User level interface to RangeSet. More...

#include <IRangeSetROOT.h>

Inheritance diagram for AIDA::IRangeSetROOT:
AIDA::IRangeSet

Public Member Functions

virtual ~IRangeSetROOT ()
 Destructor.
 
virtual const std::vector
< double > & 
lowerBounds ()
 Return array of lower Bounds for the current set of ranges. More...
 
virtual const std::vector
< double > & 
upperBounds ()
 Return array of upper Bounds for the current set of ranges. More...
 
virtual void include (double xMin, double xMax)
 Add [xMin, xMax] interval to existing set of valid ranges. More...
 
virtual void exclude (double xMin, double xMax)
 Exclude [xMin, xMax] interval from the existing set of valid ranges. More...
 
virtual void includeAll ()
 Set full range (from MINUS_INF to PLUS_INF ).
 
virtual void excludeAll ()
 Set empty range.
 
virtual bool isInRange (double point)
 
virtual int size ()
 Return current number of disjoint ranges (non-overlapping intervals). More...
 
virtual double PLUS_INF ()
 
virtual double MINUS_INF ()
 
- Public Member Functions inherited from AIDA::IRangeSet
virtual ~IRangeSet ()
 Destructor.
 

Detailed Description

User level interface to RangeSet.

Proposed rules for ranges:

Author
T. Kraemer, DESY
Version
Id:
IRangeSetROOT.h,v 1.1 2006-12-14 10:52:46 tkraemer Exp

Member Function Documentation

void IRangeSetROOT::exclude ( double  xMin,
double  xMax 
)
virtual

Exclude [xMin, xMax] interval from the existing set of valid ranges.

Parameters
xMin- lower bound of range to be excluded
xMax- upper bound of range to be excluded

Implements AIDA::IRangeSet.

void IRangeSetROOT::include ( double  xMin,
double  xMax 
)
virtual

Add [xMin, xMax] interval to existing set of valid ranges.

Parameters
xMin- lower bound of a new valid range
xMax- upper bound of a new valid range

Implements AIDA::IRangeSet.

const std::vector< double > & IRangeSetROOT::lowerBounds ( )
virtual

Return array of lower Bounds for the current set of ranges.

Returns
Array of lower bounds for all valid ranges

Implements AIDA::IRangeSet.

int IRangeSetROOT::size ( )
virtual

Return current number of disjoint ranges (non-overlapping intervals).

Note: it is not always equal to the number of times user set the range

Returns
Number of disjoint ranges

Implements AIDA::IRangeSet.

const std::vector< double > & IRangeSetROOT::upperBounds ( )
virtual

Return array of upper Bounds for the current set of ranges.

Returns
Array of upper bounds for all valid ranges

Implements AIDA::IRangeSet.


The documentation for this class was generated from the following files: