Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

MarSysBinningFun.h

Go to the documentation of this file.
00001 
00004 #ifndef __MARSYSBINNINGFUN_H
00005 #define __MARSYSBINNINGFUN_H
00006 
00007 #include "jbltools/sfh/BinningFun.h"
00008 #include "Marana/TMarSyst.h"
00009 
00010 //  Class MarSysBinningFun:
00012 
00050 class TFile; 
00051 
00052 class MarSysBinningFun: public BinningFun {
00053   public:
00055     MarSysBinningFun (const TMarSyst &marsyst_, TFile *outfile_); 
00057     virtual int operator() () const; 
00058     
00060 
00067     virtual const char *getBinName(int i        
00068                                    ) const;
00070 
00077     virtual const char *getBinTitle(int i       
00078                                    ) const;
00079                                    
00080     virtual int getNBins() const { return nbins; }                               
00081                                    
00082   protected:  
00083     typedef map <string, int> SysStringMap;
00084     typedef map <int, string> SysIntMap;
00085     const TMarSyst &marsyst;
00086     TFile *outfile;
00087     int nbins;
00088     SysStringMap sysstringmap;
00089     SysIntMap sysintmap;
00091     virtual ~MarSysBinningFun() {}; 
00092 };
00093 
00094 
00095 #endif /* #ifndef __MARSYSBINNINGFUN_H */

Generated on Thu Jul 28 11:48:52 2005 for SFHMarana by doxygen 1.3.2