00001 #ifndef STJETHISTMAKER_H
00002 #define STJETHISTMAKER_H
00003 #include "StMaker.h"
00004
00005 #include "TH3.h"
00006 #include "TH2.h"
00007
00008 #include <string>
00009 #include <iostream>
00010 #include <fstream>
00011 #include <map>
00012 #include <algorithm>
00013 using namespace std;
00014
00015 class TFile;
00016 class TTree;
00017 class TNtuple;
00018 class StMuDst;
00019 class StMuDstMaker;
00020 class StEmcADCtoEMaker;
00021 class StBemcTables;
00022
00023 class StEmcSimulatorMaker;
00024
00025
00026 class StJetHistMaker : public StMaker
00027 {
00028 public:
00029
00030
00031 StJetHistMaker(StMuDstMaker* uDstMaker, const char *outputName);
00032
00033 virtual Int_t Init();
00034 virtual Int_t InitRun(Int_t);
00035 virtual Int_t Make();
00036 virtual Int_t Finish();
00037
00038
00039 TH2* mbVertexZvsNp;
00040 TH3* mbTrackKin;
00041 TH2* mbNfitVsEta;
00042
00043 TH2* ht1VertexZvsNp;
00044 TH3* ht1TrackKin;
00045 TH2* ht1NfitVsEta;
00046
00047 TH2* otherVertexZvsNp;
00048 TH3* otherTrackKin;
00049 TH2* otherNfitVsEta;
00050
00051 TH2* mipHistVsEta;
00052 TH2* mipEvsEta;
00053 TH2* towerEvsId;
00054 TH2* towerAdcvsId;
00055
00056
00057 protected:
00058 void InitFile();
00059 void FinishFile();
00060 void fillBarrelHits();
00061
00062
00063 StMuDstMaker* muDstMaker;
00064
00065
00066 const char* mOutName;
00067 StMuDst* mudst;
00068
00069 StBemcTables* mTables;
00070 TFile* mOutfile;
00071
00072 ClassDef(StJetHistMaker,0)
00073 };
00074
00075 #endif // STJETHISTMAKER_H