CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/L1Trigger/DTTrackFinder/src/L1MuDTSecProcId.h

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