CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/Utilities/BinningTools/interface/BaseBinFinder.h

Go to the documentation of this file.
00001 #ifndef BaseBinFinder_H
00002 #define BaseBinFinder_H
00003 
00012 template <class T>
00013 class BaseBinFinder {
00014 public:
00015   
00016   BaseBinFinder() {};
00017 
00018   virtual ~BaseBinFinder(){}
00019 
00021   virtual int binIndex( T pos) const =0;
00022   
00024   virtual int binIndex( int i) const =0;
00025   
00027   virtual T binPosition( int ind) const = 0;
00028 
00029 private:
00030   //  int theNbins;
00031 
00032 };
00033 #endif
00034