00001 #ifndef StTofMuDstEval_HH
00002 #define StTofMuDstEval_HH
00003
00004 #ifndef StMaker_H
00005 #include "StMaker.h"
00006 #endif
00007
00008 #define VHRBIN2PS 24.414 // Very High resolution mode, pico-second per bin
00009
00010 #define HRBIN2PS 97.656 // High resolution mode, pico-second per bin
00011
00012
00013
00014 class StMuTrack;
00015 class StMuEvent;
00016 class StMuTofHit;
00017 class TRandom;
00018 class StMuEvent;
00019 class StMuDst;
00020 class StFileI;
00021 class TChain;
00022 class TClonesArray;
00023 class StMuDstMaker;
00024 class StEvent;
00025 class StTofCollection;
00026 class StSortTofRawData;
00027 class StTofrGeometry;
00028
00029 #include "TFile.h"
00030 #include "TObject.h"
00031 #include "TTree.h"
00032 #include "TBranch.h"
00033 #include "TClonesArray.h"
00034
00035
00036 #include <vector>
00037 #ifndef ST_NO_NAMESPACES
00038 using std::vector;
00039 #endif
00040
00041
00042
00043 class StTofMuDstEval : public StMaker {
00044
00045 protected:
00046
00047 public:
00048
00049 StMaker* currentChain;
00050 StTofMuDstEval(const char* name = "StTofMuDstEval",
00051 StMuDstMaker *maker = 0);
00052 ~StTofMuDstEval();
00053 void Clear(const char* opt="");
00054 Int_t Init();
00055
00056
00057 Int_t Make();
00058 Int_t Finish();
00059
00060 void GetPvpdNHits(int &nEast, int &nWest);
00061 Float_t GetUncorrectedTot(StMuTofHit *tofHit);
00062 void GetLocalHitPosition(StMuTofHit *tofHit, Double_t* local);
00063
00064 private:
00065 static const Int_t mNPVPD = 6;
00066 static const Int_t mNTOFr5 = 192;
00067
00068 StMuDstMaker *mMuDstMaker;
00069 StMuDst *mMuDst;
00070
00071 StEvent *mEvent;
00072 StTofCollection *mTofCollection;
00073 StSortTofRawData *mSortTofRawData;
00074 StTofrGeometry *mTofrGeom;
00075
00076 virtual const char* GetCVS() const
00077 {static const char cvs[]="Tag $Name: $ $Id: StTofMuDstEval.h,v 1.1 2007/05/17 18:03:27 dongx Exp $ built "__DATE__" "__TIME__; return cvs;}
00078
00079
00080 ClassDef(StTofMuDstEval, 1)
00081
00082 };
00083
00084 #endif
00085