test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 //------------------------------------
35 // Collaborating Class Declarations --
36 //------------------------------------
37 
38 // ---------------------
39 // -- Class Interface --
40 // ---------------------
41 
43 
44  public:
45 
48 
50  L1MuBMTrackSegLoc(int wheel_id,
51  int sector_id,
52  int station_id);
53 
56 
58  virtual ~L1MuBMTrackSegLoc();
59 
61  inline int wheel() const { return m_wheel; }
62 
64  inline int sector() const { return m_sector; }
65 
67  inline int station() const { return m_station; }
68 
71 
73  bool operator==(const L1MuBMTrackSegLoc&) const;
74 
76  bool operator!=(const L1MuBMTrackSegLoc&) const;
77 
79  bool operator<(const L1MuBMTrackSegLoc&) const;
80 
82  friend std::ostream& operator<<(std::ostream&, const L1MuBMTrackSegLoc&);
83 
84  private:
85 
86  int m_wheel;
87  int m_sector;
88  int m_station;
89 
90 };
91 
92 #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