00001 #ifndef __MMUISLOWSIMMODULE_HH__ 00002 #define __MMUISLOWSIMMODULE_HH__ 00003 00004 #include<PHModule.h> //standard phenix analysis module including 00005 00006 00007 #include<PHTimeServer.h> 00008 // include IOC header. 00009 // 00010 #include<TMuiMCHitMapO.h> 00011 #include<TMutMCTrkMap.h> 00012 // include PISA staff table. 00013 #include<munhitsWrapper.h> 00014 00015 #include<mMuiSlowSimPar.h> 00016 00045 class mMuiSlowSim : public PHModule 00046 { 00047 public: 00048 00049 mMuiSlowSim(); 00050 ~mMuiSlowSim(); 00051 virtual PHBoolean event(PHCompositeNode*); //inherited from PHModule 00052 00053 private: 00054 00055 // private methods 00056 // 00057 void set_interface_ptrs(PHCompositeNode* top_node); 00058 00059 void digitize(); 00060 00061 void associate_mctrk(); 00062 00063 void fill_new_mctrk(TMuiMCHitMapO::pointer mc_hit_ptr); 00064 00065 // Module parameter table 00066 // 00067 const mMuiSlowSimPar* _mod_par; 00068 00069 // Interface object container of muid MC hit. 00070 // 00071 TMuiMCHitMapO* _mc_hit_map; 00072 00073 // Interface object container of muid MC hit. 00074 // 00075 TMutMCTrkMap* _mc_trk_map; 00076 00077 // PISA STAF table 00078 // 00079 TABLE_HEAD_ST _munhits_h; // header struct mum hits STAF table 00080 MUNHITS_ST* _munhits; // pointer to mumhits array 00081 00082 // Timer 00083 // 00084 PHTimeServer::timer _timer; 00085 }; 00086 00087 #endif /* __MMUISLOWSIM_HH__ */ 00088 00089 00090 00091 00092 00093 00094 00095 00096 00097 00098 00099 00100 00101 00102 00103 00104 00105