Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

IntFunBinning.h

Go to the documentation of this file.
00001 
00005 #ifndef __IntFunBINNING_H
00006 #define __IntFunBINNING_H
00007 
00008 #include "jbltools/sfh/BinningFun.h"
00009 #include "jbltools/sfh/IntFunPoR.h"
00010 
00011 //  Class IntFunBinning:
00013 
00027 class IntFunBinning : public BinningFun {
00028 
00029   public:
00031 
00034     IntFunBinning (const IntFunPoR& fun_,  
00035                      int xlow_,            
00036                      int xhigh_,           
00037                      const char *varname_  
00038                      );
00039     virtual int operator()() const; //< Returns the bin number
00040     
00042 
00046     virtual const char *getBinName(int i        
00047                                    ) const;
00049 
00054     virtual const char *getBinTitle(int i       
00055                                    ) const; 
00056     
00058     virtual const FillIterator *getIterator() const;
00059     
00060   protected:  
00062     virtual ~IntFunBinning(); 
00063     
00064     const IntFun *fun;             
00065     char *varname;                 
00066     unsigned int varnamelength;    
00067     
00068   private:
00069     void initvarname (const char *varname_);
00070   
00072     IntFunBinning (const IntFunBinning&);  
00074     IntFunBinning& operator= (const IntFunBinning&);  
00075 };
00076 
00077 
00078 #endif /* #ifndef __IntFunBINNING_H */

Generated on Thu Oct 26 12:52:57 2006 for SFH by doxygen 1.3.2