00001
00008 #ifndef __MATRIXOFH2F_H
00009 #define __MATRIXOFH2F_H
00010
00011 #include "jbltools/sfh/MatrixOfH.h"
00012
00013 #include "jbltools/sfh/BinningFunPoR.h"
00014 #include "jbltools/sfh/Binning.h"
00015
00016 #include <cassert>
00017
00018 class TFile;
00019 class TProfile;
00020 class TAxis;
00021 class BinningFun;
00022 class RegH2F;
00023 class SetOfHistograms;
00024
00025
00026
00028
00054 class MatrixOfH2F: public MatrixOfH {
00055 public:
00056
00058 MatrixOfH2F (const char* name_,
00059 const char* title_,
00060 const ROListPoR& hhl,
00061 const BinningFunPoR& binning1_,
00062 const BinningFunPoR& binning2_
00063 );
00065 MatrixOfH2F (const char* name_,
00066 const char* title_,
00067 Int_t nbinsx,
00068 Axis_t xlow,
00069 Axis_t xup,
00070 Int_t nbinsy,
00071 Axis_t ylow,
00072 Axis_t yup,
00073 const ROListPoR& hhl,
00074 const BinningFunPoR& binning1_,
00075 const BinningFunPoR& binning2_
00076 );
00078 MatrixOfH2F (const char* name_,
00079 const char* title_,
00080 Int_t nbinsx,
00081 const Double_t* xbins,
00082 Int_t nbinsy,
00083 Axis_t ylow,
00084 Axis_t yup,
00085 const ROListPoR& hhl,
00086 const BinningFunPoR& binning1_,
00087 const BinningFunPoR& binning2_
00088 );
00090 MatrixOfH2F (const char* name_,
00091 const char* title_,
00092 Int_t nbinsx,
00093 Axis_t xlow,
00094 Axis_t xup,
00095 Int_t nbinsy,
00096 const Double_t* ybins,
00097 const ROListPoR& hhl,
00098 const BinningFunPoR& binning1_,
00099 const BinningFunPoR& binning2_
00100 );
00102 MatrixOfH2F (const char* name_,
00103 const char* title_,
00104 Int_t nbinsx,
00105 const Double_t* xbins,
00106 Int_t nbinsy,
00107 const Double_t* ybins,
00108 const ROListPoR& hhl,
00109 const BinningFunPoR& binning1_,
00110 const BinningFunPoR& binning2_
00111 );
00113 MatrixOfH2F (const char* name_,
00114 const char* title_,
00115 Int_t nbinsx,
00116 const Float_t* xbins,
00117 Int_t nbinsy,
00118 const Float_t* ybins,
00119 const ROListPoR& hhl,
00120 const BinningFunPoR& binning1_,
00121 const BinningFunPoR& binning2_
00122 );
00124 MatrixOfH2F (const char* name_,
00125 const char* title_,
00126 const Binning& xbinning,
00127 const Binning& ybinning,
00128 const ROListPoR& hhl,
00129 const BinningFunPoR& binning1_,
00130 const BinningFunPoR& binning2_
00131 );
00132
00133
00134
00136 virtual ~MatrixOfH2F ();
00137
00138
00141 RegH2F *getHisto (IndexType i,
00142 IndexType j
00143 );
00145 virtual void initHisto (IndexType i,
00146 IndexType j
00147 );
00148
00149 private:
00150
00151 Binning xaxisbinning;
00152 Binning yaxisbinning;
00153
00155 MatrixOfH2F (const MatrixOfH2F& source
00156 );
00158 MatrixOfH2F& operator= (const MatrixOfH2F& source
00159 );
00160 };
00161
00162
00163
00164 #endif