00001 //---------------------------------------------------------------------------// 00006 // 00007 // ////Created: Aug, 2004 00008 // ////Modified: 00009 // ////Comment: 00010 // ////---------------------------------------------------------------------------// 00011 // //// $Id:BesTrackingAction.hh 00012 00013 #ifndef BesTrackingAction_h 00014 #define BesTrackingAction_h 1 00015 00016 #include "G4UserTrackingAction.hh" 00017 class BesRunAction; 00018 00019 class BesTrackingAction : public G4UserTrackingAction 00020 { 00021 public: 00022 BesTrackingAction(BesRunAction*); 00023 ~BesTrackingAction() ; 00024 00025 void PreUserTrackingAction(const G4Track *track); 00026 void PostUserTrackingAction(const G4Track *track); 00027 00028 private: 00029 BesRunAction* m_runAction; 00030 }; 00031 00032 #endif 00033