00001 00017 #ifndef StHighPtTagsMaker_HH 00018 #define StHighPtTagsMaker_HH 00019 00020 #include <iostream> 00021 #include "TROOT.h" 00022 #include "StMaker.h" 00023 #include "tables/St_HighPtTag_Table.h" 00024 class StEvent; 00025 00026 class StHighPtTagsMaker : public StMaker { 00027 public: 00028 StHighPtTagsMaker(const char *name="HighPtTags", const char *title=0); 00029 ~StHighPtTagsMaker(); 00030 00031 Int_t Init(); // create and fills the tags 00032 Int_t Make(); // create and fills the tags 00033 00034 HighPtTag_st* tag(); // returns pointer to the tag table 00035 void printTag(ostream& = cout); 00036 00037 protected: 00038 void fillTag(); // does the actual work; 00039 00040 private: 00041 HighPtTag_st* mTagTable; 00042 StEvent* mEvent; 00043 00044 // Comment for Thomas: 00045 // These are redeclared as local variables in the fillTag() method 00046 // then there is no need to declare them in the header file 00047 // as data members. Data members are used to store values that 00048 // are then passed between functions or returned by the class 00049 // but there are no access methods for that, so it is 00050 // better to just use them as local variables in fillTag() for the 00051 // moment. MCBS 00052 // Float_t mHighPtTrack; 00053 // Float_t mMaxRawEtBEMCTower; 00054 // Float_t mMaxRawEtEEMCTower; 00055 00056 virtual const char *GetCVS() const 00057 {static const char cvs[]="Tag $Name: $ $Id: StHighPtTagsMaker.h,v 1.1 2004/07/30 23:02:06 calderon Exp $ built "__DATE__" "__TIME__ ; return cvs;} 00058 00059 ClassDef(StHighPtTagsMaker,1) // macro for rootcint 00060 }; 00061 00062 #endif 00063 00064 /*************************************************************************** 00065 * 00066 * $Log: StHighPtTagsMaker.h,v $ 00067 * Revision 1.1 2004/07/30 23:02:06 calderon 00068 * Revised entry after testing. Commented out data members that are used 00069 * as local variables in fillTag(). Speeded up primary track loop. Added 00070 * protection against null pointers. 00071 * 00072 * Revision 1.0 2004/07/28 07:47:45 thenry 00073 * Created 00074 * 00075 **************************************************************************/
1.5.9