00001
00008 #ifndef __SETOFHPROF_H
00009 #define __SETOFHPROF_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 RegHProf;
00018 class TFile;
00019 class TH1;
00020 class TAxis;
00021
00022
00024
00051 class SetOfHProf: public SetOfH {
00052 public:
00054 SetOfHProf (const char* name_,
00055 const char* title_,
00056 const ROListPoR& hhl,
00057 const BinningFunPoR& binning_
00058 );
00060 SetOfHProf (const char* name_,
00061 const char* title_,
00062 Int_t nbinsx,
00063 Axis_t xlow,
00064 Axis_t xup,
00065 Option_t *option_,
00066 const ROListPoR& hhl,
00067 const BinningFunPoR& binning_
00068 );
00070 SetOfHProf (const char* name_,
00071 const char* title_,
00072 Int_t nbinsx,
00073 Axis_t xlow,
00074 Axis_t xup,
00075 Axis_t ylow_,
00076 Axis_t yup_,
00077 Option_t *option_,
00078 const ROListPoR& hhl,
00079 const BinningFunPoR& binning_
00080 );
00082 SetOfHProf (const char* name_,
00083 const char* title_,
00084 Int_t nbinsx,
00085 const Float_t* xbins,
00086 Option_t *option_,
00087 const ROListPoR& hhl,
00088 const BinningFunPoR& binning_
00089 );
00091 SetOfHProf (const char* name_,
00092 const char* title_,
00093 Int_t nbinsx,
00094 const Double_t* xbins,
00095 Option_t *option_,
00096 const ROListPoR& hhl,
00097 const BinningFunPoR& binning_
00098 );
00100 SetOfHProf (const char* name_,
00101 const char* title_,
00102 Int_t nbinsx,
00103 const Double_t* xbins,
00104 Axis_t ylow_,
00105 Axis_t yup_,
00106 Option_t *option_,
00107 const ROListPoR& hhl,
00108 const BinningFunPoR& binning_
00109 );
00111 SetOfHProf (const char* name_,
00112 const char* title_,
00113 const Binning& axisbinning_,
00114 Option_t *option_,
00115 const ROListPoR& hhl,
00116 const BinningFunPoR& binning_
00117 );
00119 SetOfHProf (const char* name_,
00120 const char* title_,
00121 const Binning& axisbinning_,
00122 Axis_t ylow_,
00123 Axis_t yup_,
00124 Option_t *option_,
00125 const ROListPoR& hhl,
00126 const BinningFunPoR& binning_
00127 );
00129 virtual ~SetOfHProf ();
00130
00132 RegHProf *getHisto (IndexType i
00133 );
00134
00135
00137 void initHisto (IndexType i
00138 );
00139
00140 protected:
00141
00142 Binning axisbinning;
00143 Axis_t ylow;
00144 Axis_t yup;
00145
00146 void initialize(ROList& hhl);
00147
00148 private:
00150 SetOfHProf (const SetOfHProf& source);
00152 SetOfHProf& operator= (const SetOfHProf& source);
00153 };
00154
00155 #endif