StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
TopologyMap.hh
1 
7 #ifndef TopologyMap_hh
8 #define TopologyMap_hh
9 
10 #include <iostream>
11 using std::ostream;
12 
16 class Track;
17 
29 class TopologyMap {
30 public:
35  TopologyMap(Track* track = 0);
36 
40  int farEast() const;
41 
45  int nearEast() const;
49  int nearWest() const;
50 
54  int farWest() const;
55 
56 private:
57  // Number of hits in TPC zones along beamline
58  int mFarEast;
59  int mNearEast;
60  int mNearWest;
61  int mFarWest;
62 };
63 
64 inline int TopologyMap:: farEast() const { return mFarEast; }
65 inline int TopologyMap::nearEast() const { return mNearEast; }
66 inline int TopologyMap::nearWest() const { return mNearWest; }
67 inline int TopologyMap:: farWest() const { return mFarWest; }
68 
69 ostream& operator<<(ostream& os, const TopologyMap& topoMap);
70 
71 #endif
Number of hits in diffent zones of the TPC for a given track.
Definition: TopologyMap.hh:29
int farEast() const
Number of hits in far east of TPC (-200 &lt;= z &lt; -150 cm)
Definition: TopologyMap.hh:64
TopologyMap(Track *track=0)
Constructor creates the topology map.
Definition: TopologyMap.cc:10
int farWest() const
Number of hits in far west of TPC (150 &lt;= z &lt; 200 cm)
Definition: TopologyMap.hh:67
C++ STL includes.
Definition: AgUStep.h:47
int nearEast() const
Number of hits in near east of TPC (-50 &lt;= z &lt; 0 cm)
Definition: TopologyMap.hh:65
int nearWest() const
Number of hits in near west of TPC (0 &lt;= z &lt; 50 cm)
Definition: TopologyMap.hh:66