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
22 
23 #include <vector>
24 #include <iosfwd>
25 
26 // user include files
28 
29 // forward declarations
30 
31 // class declaration
33 {
34 
35 public:
36 
38  L1GtPsbConfig();
39 
41  L1GtPsbConfig(const int&);
42 
44  virtual ~L1GtPsbConfig();
45 
48 
51 
53  bool operator==(const L1GtPsbConfig&) const;
54 
56  bool operator!=(const L1GtPsbConfig&) const;
57 
59  bool operator<(const L1GtPsbConfig&) const;
60 
61 public:
62 
64  static const int PsbNumberLvdsGroups;
65 
67  static const int PsbSerLinkNumberChannels;
68 
69 public:
70 
72  inline const int gtBoardSlot() const
73  {
74  return m_gtBoardSlot;
75  }
76 
77  void setGtBoardSlot(const int&);
78 
80  inline const bool gtPsbCh0SendLvds() const
81  {
82  return m_gtPsbCh0SendLvds;
83  }
84 
85  void setGtPsbCh0SendLvds(const bool&);
86 
88  inline const bool gtPsbCh1SendLvds() const
89  {
90  return m_gtPsbCh1SendLvds;
91  }
92 
93  void setGtPsbCh1SendLvds(const bool&);
94 
96  inline const std::vector<bool>& gtPsbEnableRecLvds() const
97  {
98  return m_gtPsbEnableRecLvds;
99  }
100 
101  void setGtPsbEnableRecLvds(const std::vector<bool>&);
102 
104  inline const std::vector<bool>& gtPsbEnableRecSerLink() const
105  {
107  }
108 
109  void setGtPsbEnableRecSerLink(const std::vector<bool>&);
110 
112  void print(std::ostream& myCout) const;
113 
115  friend std::ostream& operator<<(std::ostream&, const L1GtPsbConfig&);
116 
117 private:
118 
121 
124 
127 
130  std::vector<bool> m_gtPsbEnableRecLvds;
131 
133  std::vector<bool> m_gtPsbEnableRecSerLink;
134 
135 
137 };
138 
139 #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:80
static const int PsbSerLinkNumberChannels
number of channels per board
Definition: L1GtPsbConfig.h:67
int m_gtBoardSlot
the slot of board (part of Board_Id)
static const int PsbNumberLvdsGroups
number of LVDS groups per board
Definition: L1GtPsbConfig.h:64
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:88
bool operator<(const L1GtPsbConfig &) const
less than operator
std::vector< bool > m_gtPsbEnableRecLvds
const int gtBoardSlot() const
get / set board slot
Definition: L1GtPsbConfig.h:72
void setGtBoardSlot(const int &)
#define COND_SERIALIZABLE
Definition: Serializable.h:37
void setGtPsbCh1SendLvds(const bool &)
const std::vector< bool > & gtPsbEnableRecLvds() const
get / set enable LVDS
Definition: L1GtPsbConfig.h:96
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