CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtPsbConfig.h
Go to the documentation of this file.
1 #ifndef CondFormats_L1TObjects_L1GtPsbConfig_h
2 #define CondFormats_L1TObjects_L1GtPsbConfig_h
3 
20 // system include files
21 #include <vector>
22 #include <iosfwd>
23 
24 // user include files
26 
27 // forward declarations
28 
29 // class declaration
31 {
32 
33 public:
34 
36  L1GtPsbConfig();
37 
39  L1GtPsbConfig(const int&);
40 
42  virtual ~L1GtPsbConfig();
43 
46 
49 
51  bool operator==(const L1GtPsbConfig&) const;
52 
54  bool operator!=(const L1GtPsbConfig&) const;
55 
57  bool operator<(const L1GtPsbConfig&) const;
58 
59 public:
60 
62  static const int PsbNumberLvdsGroups;
63 
65  static const int PsbSerLinkNumberChannels;
66 
67 public:
68 
70  inline const int gtBoardSlot() const
71  {
72  return m_gtBoardSlot;
73  }
74 
75  void setGtBoardSlot(const int&);
76 
78  inline const bool gtPsbCh0SendLvds() const
79  {
80  return m_gtPsbCh0SendLvds;
81  }
82 
83  void setGtPsbCh0SendLvds(const bool&);
84 
86  inline const bool gtPsbCh1SendLvds() const
87  {
88  return m_gtPsbCh1SendLvds;
89  }
90 
91  void setGtPsbCh1SendLvds(const bool&);
92 
94  inline const std::vector<bool>& gtPsbEnableRecLvds() const
95  {
96  return m_gtPsbEnableRecLvds;
97  }
98 
99  void setGtPsbEnableRecLvds(const std::vector<bool>&);
100 
102  inline const std::vector<bool>& gtPsbEnableRecSerLink() const
103  {
105  }
106 
107  void setGtPsbEnableRecSerLink(const std::vector<bool>&);
108 
110  void print(std::ostream& myCout) const;
111 
113  friend std::ostream& operator<<(std::ostream&, const L1GtPsbConfig&);
114 
115 private:
116 
119 
122 
125 
128  std::vector<bool> m_gtPsbEnableRecLvds;
129 
131  std::vector<bool> m_gtPsbEnableRecSerLink;
132 
133 };
134 
135 #endif /*CondFormats_L1TObjects_L1GtPsbConfig_h*/
bool operator!=(const L1GtPsbConfig &) const
unequal operator
bool operator==(const L1GtPsbConfig &) const
equal operator
L1GtPsbConfig & operator=(const L1GtPsbConfig &)
assignment operator
void setGtPsbEnableRecLvds(const std::vector< bool > &)
void setGtPsbCh0SendLvds(const bool &)
bool m_gtPsbCh1SendLvds
CH1_SEND_LVDS_NOT_DS92LV16.
const bool gtPsbCh0SendLvds() const
get / set CH0_SEND_LVDS_NOT_DS92LV16
Definition: L1GtPsbConfig.h:78
static const int PsbSerLinkNumberChannels
number of channels per board
Definition: L1GtPsbConfig.h:65
int m_gtBoardSlot
the slot of board (part of Board_Id)
static const int PsbNumberLvdsGroups
number of LVDS groups per board
Definition: L1GtPsbConfig.h:62
void print(std::ostream &myCout) const
print board
friend std::ostream & operator<<(std::ostream &, const L1GtPsbConfig &)
output stream operator
bool m_gtPsbCh0SendLvds
CH0_SEND_LVDS_NOT_DS92LV16.
void setGtPsbEnableRecSerLink(const std::vector< bool > &)
L1GtPsbConfig()
constructors
const bool gtPsbCh1SendLvds() const
get / set CH1_SEND_LVDS_NOT_DS92LV16
Definition: L1GtPsbConfig.h:86
bool operator<(const L1GtPsbConfig &) const
less than operator
std::vector< bool > m_gtPsbEnableRecLvds
const int gtBoardSlot() const
get / set board slot
Definition: L1GtPsbConfig.h:70
void setGtBoardSlot(const int &)
void setGtPsbCh1SendLvds(const bool &)
const std::vector< bool > & gtPsbEnableRecLvds() const
get / set enable LVDS
Definition: L1GtPsbConfig.h:94
virtual ~L1GtPsbConfig()
destructor
std::vector< bool > m_gtPsbEnableRecSerLink
enable channels for receiving signal via serial links
const std::vector< bool > & gtPsbEnableRecSerLink() const
get / set enable channels for receiving signal via serial links