00001 00007 #ifndef TopologyMap_hh 00008 #define TopologyMap_hh 00009 00010 #include <iostream> 00011 using std::ostream; 00012 00016 class Track; 00017 00029 class TopologyMap { 00030 public: 00035 TopologyMap(Track* track = 0); 00036 00040 int farEast() const; 00041 00045 int nearEast() const; 00049 int nearWest() const; 00050 00054 int farWest() const; 00055 00056 private: 00057 // Number of hits in TPC zones along beamline 00058 int mFarEast; 00059 int mNearEast; 00060 int mNearWest; 00061 int mFarWest; 00062 }; 00063 00064 inline int TopologyMap:: farEast() const { return mFarEast; } 00065 inline int TopologyMap::nearEast() const { return mNearEast; } 00066 inline int TopologyMap::nearWest() const { return mNearWest; } 00067 inline int TopologyMap:: farWest() const { return mFarWest; } 00068 00069 ostream& operator<<(ostream& os, const TopologyMap& topoMap); 00070 00071 #endif
1.5.9