File indexing completed on 2024-04-06 12:02:19
0001 #ifndef CondFormats_L1TObjects_L1GtBoardMaps_h
0002 #define CondFormats_L1TObjects_L1GtBoardMaps_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 #include "CondFormats/Serialization/interface/Serializable.h"
0022
0023 #include <vector>
0024 #include <iosfwd>
0025
0026
0027 #include "CondFormats/L1TObjects/interface/L1GtFwd.h"
0028 #include "CondFormats/L1TObjects/interface/L1GtBoard.h"
0029
0030
0031
0032
0033 class L1GtBoardMaps {
0034 public:
0035
0036 L1GtBoardMaps();
0037
0038
0039 virtual ~L1GtBoardMaps();
0040
0041 public:
0042
0043 const std::vector<L1GtBoard>& gtBoardMaps() const { return m_gtBoardMaps; }
0044
0045 void setGtBoardMaps(const std::vector<L1GtBoard>&);
0046 void print(std::ostream&) const;
0047
0048
0049 friend std::ostream& operator<<(std::ostream&, const L1GtBoardMaps&);
0050
0051 public:
0052
0053 void printGtDaqRecordMap(std::ostream& myCout) const;
0054
0055
0056 void printGtEvmRecordMap(std::ostream& myCout) const;
0057
0058
0059 void printGtDaqActiveBoardsMap(std::ostream& myCout) const;
0060
0061
0062 void printGtEvmActiveBoardsMap(std::ostream& myCout) const;
0063
0064
0065 void printGtBoardSlotMap(std::ostream& myCout) const;
0066
0067
0068 void printGtBoardHexNameMap(std::ostream& myCout) const;
0069
0070
0071 void printGtQuadToPsbMap(std::ostream& myCout) const;
0072
0073 private:
0074
0075 std::vector<L1GtBoard> m_gtBoardMaps;
0076
0077 COND_SERIALIZABLE;
0078 };
0079
0080 #endif