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

SetOfHistograms.h

Go to the documentation of this file.
00001 
00010 #ifndef __SETOFHISTOGRAMS_H
00011 #define __SETOFHISTOGRAMS_H
00012 
00013 #include "jbltools/sfh/SetOfH.h"
00014 
00015 #include "jbltools/sfh/BinningFunPoR.h"
00016 #include "jbltools/sfh/Binning.h"
00017 
00018 class BinningFun;
00019 class RegH1F;
00020 class TFile;
00021 class TH1F;
00022 class TAxis;
00023 
00024 // Class SetOfHistograms
00026 
00058 class SetOfHistograms: public SetOfH {
00059   public:
00061     SetOfHistograms (const char* name_,               
00062                      const char* title_,              
00063                      const ROListPoR& hhl,            
00064                      const BinningFunPoR& binning_    
00065                      );
00067     SetOfHistograms (const char* name_,               
00068                      const char* title_,              
00069                      Int_t nbinsx,                    
00070                      Axis_t xlow,                     
00071                      Axis_t xup,                      
00072                      const ROListPoR& hhl,             
00073                      const BinningFunPoR& binning_    
00074                      );                              
00076     SetOfHistograms (const char* name_,               
00077                      const char* title_,              
00078                      Int_t nbinsx,                    
00079                      const Double_t* xbins,           
00080                      const ROListPoR& hhl,             
00081                      const BinningFunPoR& binning_    
00082                      );                              
00084     SetOfHistograms (const char* name_,               
00085                      const char* title_,              
00086                      Int_t nbinsx,                    
00087                      const Float_t* xbins,            
00088                      const ROListPoR& hhl,             
00089                      const BinningFunPoR& binning_    
00090                      );
00092     SetOfHistograms (const char* name_,               
00093                      const char* title_,              
00094                      const Binning& axisbinning_,      
00095                      const ROListPoR& hhl,            
00096                      const BinningFunPoR& binning_    
00097                      );
00099     SetOfHistograms (const char* name_,               
00100                      const char* title_,              
00101                      TFile& file,                     
00102                      const ROListPoR& hhl,            
00103                      const BinningFunPoR& binning_    
00104                      );
00106     virtual ~SetOfHistograms ();
00107     
00109     RegH1F *getHisto (IndexType i                   
00110                      );
00112     RegH1F *getHisto (iterator i                   
00113                      );
00115     const RegH1F *getHisto (const_iterator i                   
00116                      ) const;
00117     
00119 
00123     RegH1F *getSummary(Option_t* option_,      
00124 
00130                        const ROListPoR& hhl    
00131                        );
00132 
00134 
00138     RegH1F *getSummary(Option_t* option_,      
00139                        const char *fname,      
00140                        int parnumber,          
00141                        int hnumber,            
00142                        const char *tcomment,   
00143                        const ROListPoR& hhl    
00144                        );
00145     
00147     virtual RegH1F* getSum (const char* name,          
00148                             const char* title,         
00149                             const ROListPoR& hhl,      
00150                             int lowbin = 0,            
00151                             int highbin = 0            
00152                             ) const;                         
00153     
00154     
00156     virtual void initHisto (IndexType i    
00157                            ); 
00158     
00159   protected:
00160     // Data members
00161     Binning axisbinning;              
00162     
00163     void initialize(ROList& hhl);
00164    
00165   private:
00167     SetOfHistograms (const SetOfHistograms& source);
00169     SetOfHistograms& operator= (const SetOfHistograms& source);
00170 };
00171 #endif

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