00001
00008 #ifndef __SETOFH2F_H
00009 #define __SETOFH2F_H
00010
00011 #include "jbltools/sfh/SetOfH.h"
00012
00013 #include "jbltools/sfh/BinningFunPoR.h"
00014 #include "jbltools/sfh/Binning.h"
00015
00016 class BinningFun;
00017 class RegH2F;
00018 class TFile;
00019 class TH1;
00020 class TAxis;
00021
00022
00024
00049 class SetOfH2F: public SetOfH {
00050 public:
00052 SetOfH2F (const char* name_,
00053 const char* title_,
00054 const ROListPoR& hhl,
00055 const BinningFunPoR& binning_
00056 );
00058 SetOfH2F (const char* name_,
00059 const char* title_,
00060 Int_t nbinsx,
00061 Axis_t xlow,
00062 Axis_t xup,
00063 Int_t nbinsy,
00064 Axis_t ylow,
00065 Axis_t yup,
00066 const ROListPoR& hhl,
00067 const BinningFunPoR& binning_
00068 );
00070 SetOfH2F (const char* name_,
00071 const char* title_,
00072 Int_t nbinsx,
00073 const Double_t* xbins,
00074 Int_t nbinsy,
00075 Axis_t ylow,
00076 Axis_t yup,
00077 const ROListPoR& hhl,
00078 const BinningFunPoR& binning_
00079 );
00081 SetOfH2F (const char* name_,
00082 const char* title_,
00083 Int_t nbinsx,
00084 Axis_t xlow,
00085 Axis_t xup,
00086 Int_t nbinsy,
00087 const Double_t* ybins,
00088 const ROListPoR& hhl,
00089 const BinningFunPoR& binning_
00090 );
00092 SetOfH2F (const char* name_,
00093 const char* title_,
00094 Int_t nbinsx,
00095 const Double_t* xbins,
00096 Int_t nbinsy,
00097 const Double_t* ybins,
00098 const ROListPoR& hhl,
00099 const BinningFunPoR& binning_
00100 );
00102 SetOfH2F (const char* name_,
00103 const char* title_,
00104 Int_t nbinsx,
00105 const Float_t* xbins,
00106 Int_t nbinsy,
00107 const Float_t* ybins,
00108 const ROListPoR& hhl,
00109 const BinningFunPoR& binning_
00110 );
00112 SetOfH2F (const char* name_,
00113 const char* title_,
00114 const Binning& xbinning,
00115 const Binning& ybinning,
00116 const ROListPoR& hhl,
00117 const BinningFunPoR& binning_
00118 );
00119
00120
00121
00123 virtual ~SetOfH2F ();
00124
00126 RegH2F *getHisto (IndexType i
00127 );
00128
00130 void initHisto (IndexType i
00131 );
00132
00133
00134 protected:
00135
00136 Binning xaxisbinning;
00137 Binning yaxisbinning;
00138
00139 void initialize(ROList& hhl);
00140
00141 private:
00143 SetOfH2F (const SetOfH2F& source);
00145 SetOfH2F& operator= (const SetOfH2F& source);
00146 };
00147
00148 #endif