00001
00002
00003 #ifndef GLAST_SIMPLEHIT_H
00004 #define GLAST_SIMPLEHIT_H
00005
00006 #include "geometry/Point.h"
00007 #include "gui/DisplayRep.h"
00008
00010 class SimpleHit
00011 {
00012 public:
00014 SimpleHit() {};
00016 SimpleHit(Point pos) : m_pos(pos) {}
00017
00019 Point operator() ()const;
00020
00021 void printOn(std::ostream& os) const;
00023 void draw(gui::DisplayRep& v) const;
00024 protected:
00025 Point m_pos;
00026 };
00027
00028
00029
00030
00031 inline
00032 Point SimpleHit::operator() ()const {
00033 return m_pos;
00034 }
00035
00036
00037 #endif // SIMPLEHIT_H