CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1MuBMTrackSegLoc.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
18 //
19 //--------------------------------------------------
20 #ifndef L1MUBM_TRACK_SEG_LOC_H
21 #define L1MUBM_TRACK_SEG_LOC_H
22 
23 //---------------
24 // C++ Headers --
25 //---------------
26 
27 #include <iosfwd>
28 
29 //----------------------
30 // Base Class Headers --
31 //----------------------
32 
33 //------------------------------------
34 // Collaborating Class Declarations --
35 //------------------------------------
36 
37 // ---------------------
38 // -- Class Interface --
39 // ---------------------
40 
42 public:
45 
47  L1MuBMTrackSegLoc(int wheel_id, int sector_id, int station_id);
48 
51 
53  virtual ~L1MuBMTrackSegLoc();
54 
56  inline int wheel() const { return m_wheel; }
57 
59  inline int sector() const { return m_sector; }
60 
62  inline int station() const { return m_station; }
63 
66 
68  bool operator==(const L1MuBMTrackSegLoc&) const;
69 
71  bool operator!=(const L1MuBMTrackSegLoc&) const;
72 
74  bool operator<(const L1MuBMTrackSegLoc&) const;
75 
77  friend std::ostream& operator<<(std::ostream&, const L1MuBMTrackSegLoc&);
78 
79 private:
80  int m_wheel;
81  int m_sector;
82  int m_station;
83 };
84 
85 #endif
bool operator!=(const L1MuBMTrackSegLoc &) const
unequal operator
L1MuBMTrackSegLoc()
default constructor
int wheel() const
return wheel
bool operator<(const L1MuBMTrackSegLoc &) const
less operator
int sector() const
return sector (30 deg)
bool operator==(const L1MuBMTrackSegLoc &) const
equal operator
friend std::ostream & operator<<(std::ostream &, const L1MuBMTrackSegLoc &)
output stream operator
virtual ~L1MuBMTrackSegLoc()
destructor
L1MuBMTrackSegLoc & operator=(const L1MuBMTrackSegLoc &)
assignment operator
int station() const
return station