00001
00002 #ifndef STAR_StBbcSimulationMaker
00003 #define STAR_StBbcSimulationMaker
00004
00019 #ifndef StMaker_H
00020 #include "StMaker.h"
00021 #endif
00022 #include<map>
00023 #include<list>
00024 #ifdef BbcSimQa
00025 #include "TFile.h"
00026 #include "TH1.h"
00027 #endif
00028
00029 class StBbcSimulationMaker : public StMaker {
00030 private:
00031 map<short,short> Geant2PMT;
00032
00033
00034 list<short> DeadTiles;
00035
00036 #ifdef BbcSimQa
00037 map<short,short>PMT2Geant;
00038 TFile* QaFile;
00039 TH1F* QaBbcPmtdE;
00040 TH1F* QaBbcPmtTime;
00041 TH1F* QaBbcEastVid;
00042 TH1F* QaBbcWestVid;
00043 TH1F* QaBbcEastPmt;
00044 TH1F* QaBbcWestPmt;
00045 #endif
00046 protected:
00047 public:
00048 StBbcSimulationMaker(const char *name="BbcSimulation");
00049 virtual ~StBbcSimulationMaker();
00050 virtual Int_t Init();
00051 virtual Int_t Make();
00052 virtual Int_t Finish();
00053
00054
00055
00056 virtual const char *GetCVS() const {
00057 static const char cvs[]="Tag $Name: $ $Id: StBbcSimulationMaker.h,v 1.2 2003/09/10 19:47:03 perev Exp $ built "__DATE__" "__TIME__ ;
00058 return cvs;
00059 }
00060
00061 ClassDef(StBbcSimulationMaker,0)
00062 };
00063
00064 #endif
00065
00066
00067