CMS 3D CMS Logo

L1GtBoardMaps.h
Go to the documentation of this file.
1 #ifndef CondFormats_L1TObjects_L1GtBoardMaps_h
2 #define CondFormats_L1TObjects_L1GtBoardMaps_h
3 
20 // system include files
22 
23 #include <vector>
24 #include <iosfwd>
25 
26 // user include files
29 
30 // forward declarations
31 
32 // class declaration
34 public:
35  // constructor
36  L1GtBoardMaps();
37 
38  // destructor
39  virtual ~L1GtBoardMaps();
40 
41 public:
43  const std::vector<L1GtBoard>& gtBoardMaps() const { return m_gtBoardMaps; }
44 
45  void setGtBoardMaps(const std::vector<L1GtBoard>&);
46  void print(std::ostream&) const;
47 
49  friend std::ostream& operator<<(std::ostream&, const L1GtBoardMaps&);
50 
51 public:
53  void printGtDaqRecordMap(std::ostream& myCout) const;
54 
56  void printGtEvmRecordMap(std::ostream& myCout) const;
57 
59  void printGtDaqActiveBoardsMap(std::ostream& myCout) const;
60 
62  void printGtEvmActiveBoardsMap(std::ostream& myCout) const;
63 
65  void printGtBoardSlotMap(std::ostream& myCout) const;
66 
68  void printGtBoardHexNameMap(std::ostream& myCout) const;
69 
71  void printGtQuadToPsbMap(std::ostream& myCout) const;
72 
73 private:
75  std::vector<L1GtBoard> m_gtBoardMaps;
76 
78 };
79 
80 #endif /*CondFormats_L1TObjects_L1GtBoardMaps_h*/
L1GtBoardMaps::~L1GtBoardMaps
virtual ~L1GtBoardMaps()
Definition: L1GtBoardMaps.cc:34
L1GtBoardMaps::printGtBoardHexNameMap
void printGtBoardHexNameMap(std::ostream &myCout) const
print L1 GT board name in hw record map
Definition: L1GtBoardMaps.cc:190
L1GtBoardMaps
Definition: L1GtBoardMaps.h:33
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1GtBoardMaps::printGtBoardSlotMap
void printGtBoardSlotMap(std::ostream &myCout) const
print L1 GT board - slot map
Definition: L1GtBoardMaps.cc:163
L1GtBoardMaps::m_gtBoardMaps
std::vector< L1GtBoard > m_gtBoardMaps
L1 GT boards and their mapping.
Definition: L1GtBoardMaps.h:75
L1GtBoardMaps::printGtDaqActiveBoardsMap
void printGtDaqActiveBoardsMap(std::ostream &myCout) const
print L1 GT active boards map for DAQ record
Definition: L1GtBoardMaps.cc:109
L1GtBoardMaps::printGtEvmActiveBoardsMap
void printGtEvmActiveBoardsMap(std::ostream &myCout) const
print L1 GT active boards map for EVM record
Definition: L1GtBoardMaps.cc:136
L1GtBoardMaps::setGtBoardMaps
void setGtBoardMaps(const std::vector< L1GtBoard > &)
Definition: L1GtBoardMaps.cc:39
L1GtBoard.h
L1GtBoardMaps::printGtEvmRecordMap
void printGtEvmRecordMap(std::ostream &myCout) const
print L1 GT EVM record map
Definition: L1GtBoardMaps.cc:82
L1GtBoardMaps::printGtDaqRecordMap
void printGtDaqRecordMap(std::ostream &myCout) const
print L1 GT DAQ record map
Definition: L1GtBoardMaps.cc:55
Serializable.h
L1GtFwd.h
L1GtBoardMaps::operator<<
friend std::ostream & operator<<(std::ostream &, const L1GtBoardMaps &)
output stream operator
Definition: L1GtBoardMaps.cc:297
L1GtBoardMaps::printGtQuadToPsbMap
void printGtQuadToPsbMap(std::ostream &myCout) const
print L1 quadruplet (4x16 bits)(cable) to PSB input map
Definition: L1GtBoardMaps.cc:218
L1GtBoardMaps::print
void print(std::ostream &) const
Definition: L1GtBoardMaps.cc:41
L1GtBoardMaps::gtBoardMaps
const std::vector< L1GtBoard > & gtBoardMaps() const
get / set / print the L1 GT board map
Definition: L1GtBoardMaps.h:43
L1GtBoardMaps::L1GtBoardMaps
L1GtBoardMaps()
Definition: L1GtBoardMaps.cc:29