00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef STAR_St_emc_Maker
00028 #define STAR_St_emc_Maker
00029
00031
00032
00033
00034
00036 #ifndef StMaker_H
00037 #include "StMaker.h"
00038 #endif
00039 #include "TH2.h"
00040 #include "tables/St_ems_hits_Table.h"
00041 #include "tables/St_emc_pedestal_Table.h"
00042 #include "tables/St_emc_adcslope_Table.h"
00043 #include "tables/St_emc_calib_header_Table.h"
00044 #include "tables/St_emc_hits_Table.h"
00045 #include "StEmcHitCollection.h"
00046 #include "emc_def.h"
00047
00048
00049
00050 class St_emc_Maker : public StMaker {
00051 private:
00052 Bool_t drawinit;
00053 Int_t m_mode;
00054 St_DataSet *mEmcCalib;
00055 void MakeHistograms();
00056 protected:
00057 TH2F *m_nhit;
00058 TH2F *m_etot;
00059 TH2F *m_hits[MAXDET];
00060 TH2F *m_energy[MAXDET];
00061 public:
00062 St_emc_Maker(const char *name="emc_hit", const char *title="event/data/emc/hits");
00063 virtual ~St_emc_Maker();
00064 virtual Int_t Init();
00065 virtual Int_t Make();
00066 virtual void Set_mode (Int_t m = 0){m_mode = m;};
00067 St_DataSet *getEmcCalib() {return mEmcCalib;};
00068 virtual const char *GetCVS() const
00069 {static const char cvs[]="Tag $Name: $ $Id: St_emc_Maker.h,v 1.10 2003/09/10 19:47:46 perev Exp $ built "__DATE__" "__TIME__ ; return cvs;}
00070
00071 ClassDef(St_emc_Maker,0)
00072 };
00073
00074 #endif