CMS 3D CMS Logo

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
L1MuBMTrackSegLoc::station
int station() const
return station
Definition: L1MuBMTrackSegLoc.h:62
L1MuBMTrackSegLoc::operator!=
bool operator!=(const L1MuBMTrackSegLoc &) const
unequal operator
Definition: L1MuBMTrackSegLoc.cc:98
L1MuBMTrackSegLoc::L1MuBMTrackSegLoc
L1MuBMTrackSegLoc()
default constructor
Definition: L1MuBMTrackSegLoc.cc:43
L1MuBMTrackSegLoc::operator==
bool operator==(const L1MuBMTrackSegLoc &) const
equal operator
Definition: L1MuBMTrackSegLoc.cc:85
L1MuBMTrackSegLoc::wheel
int wheel() const
return wheel
Definition: L1MuBMTrackSegLoc.h:56
L1MuBMTrackSegLoc
Definition: L1MuBMTrackSegLoc.h:41
L1MuBMTrackSegLoc::operator<
bool operator<(const L1MuBMTrackSegLoc &) const
less operator
Definition: L1MuBMTrackSegLoc.cc:111
L1MuBMTrackSegLoc::m_station
int m_station
Definition: L1MuBMTrackSegLoc.h:82
L1MuBMTrackSegLoc::sector
int sector() const
return sector (30 deg)
Definition: L1MuBMTrackSegLoc.h:59
L1MuBMTrackSegLoc::m_sector
int m_sector
Definition: L1MuBMTrackSegLoc.h:81
L1MuBMTrackSegLoc::operator=
L1MuBMTrackSegLoc & operator=(const L1MuBMTrackSegLoc &)
assignment operator
Definition: L1MuBMTrackSegLoc.cc:73
L1MuBMTrackSegLoc::operator<<
friend std::ostream & operator<<(std::ostream &, const L1MuBMTrackSegLoc &)
output stream operator
L1MuBMTrackSegLoc::~L1MuBMTrackSegLoc
virtual ~L1MuBMTrackSegLoc()
destructor
Definition: L1MuBMTrackSegLoc.cc:64
L1MuBMTrackSegLoc::m_wheel
int m_wheel
Definition: L1MuBMTrackSegLoc.h:80