00001
00017 #ifndef StMuAnalysisMaker_hh
00018 #define StMuAnalysisMaker_hh
00019
00020
00021 #include "StMaker.h"
00022 #include <string>
00023
00024
00025 class StMuTrack;
00026 class TFile;
00027 class TH1D;
00028
00029 #ifndef ST_NO_NAMESPACES
00030 using std::string;
00031 #endif
00032
00033
00034 class StMuAnalysisMaker : public StMaker {
00035 public:
00036
00037 StMuAnalysisMaker(const Char_t *name="muAnalysis");
00038 ~StMuAnalysisMaker();
00039
00040 void Clear(Option_t *option="");
00041 Int_t Init();
00042 Int_t Make();
00043 Int_t Finish();
00044
00045 virtual const char *GetCVS() const {
00046 static const char cvs[]="Tag $Name: $ $Id: StMuAnalysisMaker.h,v 1.1 2004/08/10 16:09:11 perev Exp $ built "__DATE__" "__TIME__ ;
00047 return cvs;
00048 }
00049
00050 private:
00051
00052
00053 int mEventCounter;
00054 string mFileName;
00055 TFile *mFile;
00056
00057 TH1D *mGlobalPt;
00058 TH1D *mPrimaryPt;
00059 TH1D *mL3Pt;
00060 TH1D *mRefMult;
00061
00062
00063 bool accept(StMuTrack*);
00064
00065 ClassDef(StMuAnalysisMaker,0)
00066 };
00067 #endif