CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/L1Trigger/DTTrackFinder/src/L1MuDTTrackSegLoc.h

Go to the documentation of this file.
00001 //-------------------------------------------------
00002 //
00020 //
00021 //--------------------------------------------------
00022 #ifndef L1MUDT_TRACK_SEG_LOC_H
00023 #define L1MUDT_TRACK_SEG_LOC_H
00024 
00025 //---------------
00026 // C++ Headers --
00027 //---------------
00028 
00029 #include <iosfwd>
00030 
00031 //----------------------
00032 // Base Class Headers --
00033 //----------------------
00034 
00035 
00036 //------------------------------------
00037 // Collaborating Class Declarations --
00038 //------------------------------------
00039 
00040 //              ---------------------
00041 //              -- Class Interface --
00042 //              ---------------------
00043 
00044 class L1MuDTTrackSegLoc {
00045 
00046   public:
00047  
00049     L1MuDTTrackSegLoc();
00050 
00052     L1MuDTTrackSegLoc(int wheel_id, 
00053                       int sector_id,
00054                       int station_id); 
00055   
00057     L1MuDTTrackSegLoc(const L1MuDTTrackSegLoc&);
00058 
00060     virtual ~L1MuDTTrackSegLoc();
00061 
00063     inline int wheel() const { return m_wheel; }
00064     
00066     inline int sector() const { return m_sector; }
00067     
00069     inline int station() const { return m_station; }
00070 
00072     L1MuDTTrackSegLoc& operator=(const L1MuDTTrackSegLoc&);
00073 
00075     bool operator==(const L1MuDTTrackSegLoc&) const;
00076     
00078     bool operator!=(const L1MuDTTrackSegLoc&) const;
00079     
00081     bool operator<(const L1MuDTTrackSegLoc&) const;
00082   
00084     friend std::ostream& operator<<(std::ostream&, const L1MuDTTrackSegLoc&);
00085 
00086   private:
00087  
00088     int m_wheel;
00089     int m_sector;
00090     int m_station;
00091   
00092 };
00093   
00094 #endif