GeneralRange Class Reference
The most general interval description.  
More...
#include <XeMath.h>
List of all members.
Public Member Functions | 
| double  | computeValue (double i) | 
|   | compute value corresponding to partial bin number  
  | 
| double  | computeValue (int i) | 
|   | compute value corresponding to index  
  | 
| 
  | GeneralRange () | 
|   | Empty constructor for ROOT. 
  | 
|   | GeneralRange (string what, int n, double *values) | 
|   | Constructor.  
  | 
| int  | getIndex (double x) | 
|   | return index corresponding to a value  
  | 
| void  | setValue (int index, double value) | 
|   | set a value  
  | 
| 
virtual  | ~GeneralRange () | 
|   | Destructor. 
  | 
Protected Attributes | 
| 
map< double, int >  | bins | 
Detailed Description
The most general interval description. 
Constructor & Destructor Documentation
      
        
          | GeneralRange::GeneralRange  | 
          ( | 
          string  | 
           what,  | 
        
        
           | 
           | 
          int  | 
           n,  | 
        
        
           | 
           | 
          double *  | 
           values |   | 
        
        
           | 
          ) | 
           |  |  | 
        
      
 
Constructor. 
- Parameters:
 - 
  
     | what  | is begind described  | 
     | n  | number of values  | 
     | values  | list of values  | 
  
   
 
 
Member Function Documentation
      
        
          | double GeneralRange::computeValue  | 
          ( | 
          double  | 
           fractIndex | 
           )  | 
           [virtual] | 
        
      
 
compute value corresponding to partial bin number 
- Parameters:
 - 
  
     | fractIndex  | fractional index  | 
  
   
Implements XeRange.
 
 
      
        
          | double GeneralRange::computeValue  | 
          ( | 
          int  | 
           index | 
           )  | 
           [virtual] | 
        
      
 
compute value corresponding to index 
- Parameters:
 - 
  
  
 
Implements XeRange.
 
 
      
        
          | int GeneralRange::getIndex  | 
          ( | 
          double  | 
           x | 
           )  | 
           [virtual] | 
        
      
 
return index corresponding to a value 
- Parameters:
 - 
  
  
 
Implements XeRange.
 
 
      
        
          | void GeneralRange::setValue  | 
          ( | 
          int  | 
           index,  | 
        
        
           | 
           | 
          double  | 
           value |   | 
        
        
           | 
          ) | 
           |  |  | 
        
      
 
 
The documentation for this class was generated from the following file:
- /home/lellouch/Dropbox/Xenon/Xephyr/XeMath.h