00001 #ifndef SimG4Core_EndOfTrack_H 00002 #define SimG4Core_EndOfTrack_H 00003 00004 #include "G4Track.hh" 00005 00006 class EndOfTrack 00007 { 00008 public: 00009 EndOfTrack(const G4Track * tTrack) : aTrack(tTrack) {} 00010 const G4Track * operator()() const { return aTrack; } 00011 private: 00012 const G4Track * aTrack; 00013 }; 00014 00015 #endif