00001 #ifndef CondFormats_L1TObjects_L1GtBoardMaps_h 00002 #define CondFormats_L1TObjects_L1GtBoardMaps_h 00003 00020 // system include files 00021 #include <vector> 00022 #include <iosfwd> 00023 00024 // user include files 00025 #include "CondFormats/L1TObjects/interface/L1GtFwd.h" 00026 #include "CondFormats/L1TObjects/interface/L1GtBoard.h" 00027 00028 // forward declarations 00029 00030 // class declaration 00031 class L1GtBoardMaps 00032 { 00033 00034 public: 00035 00036 // constructor 00037 L1GtBoardMaps(); 00038 00039 // destructor 00040 virtual ~L1GtBoardMaps(); 00041 00042 public: 00043 00045 const std::vector<L1GtBoard>& gtBoardMaps() const 00046 { 00047 return m_gtBoardMaps; 00048 } 00049 00050 void setGtBoardMaps(const std::vector<L1GtBoard>&); 00051 void print(std::ostream&) const; 00052 00054 friend std::ostream& operator<<(std::ostream&, const L1GtBoardMaps&); 00055 00056 00057 public: 00058 00060 void printGtDaqRecordMap(std::ostream& myCout) const; 00061 00063 void printGtEvmRecordMap(std::ostream& myCout) const; 00064 00066 void printGtDaqActiveBoardsMap(std::ostream& myCout) const; 00067 00069 void printGtEvmActiveBoardsMap(std::ostream& myCout) const; 00070 00072 void printGtBoardSlotMap(std::ostream& myCout) const; 00073 00075 void printGtBoardHexNameMap(std::ostream& myCout) const; 00076 00078 void printGtQuadToPsbMap(std::ostream& myCout) const; 00079 00080 private: 00081 00083 std::vector<L1GtBoard> m_gtBoardMaps; 00084 00085 }; 00086 00087 #endif /*CondFormats_L1TObjects_L1GtBoardMaps_h*/