CMS 3D CMS Logo

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 public:
35  L1GtPsbConfig();
36 
38  L1GtPsbConfig(const int&);
39 
41  virtual ~L1GtPsbConfig();
42 
45 
48 
50  bool operator==(const L1GtPsbConfig&) const;
51 
53  bool operator!=(const L1GtPsbConfig&) const;
54 
56  bool operator<(const L1GtPsbConfig&) const;
57 
58 public:
60  static const int PsbNumberLvdsGroups;
61 
63  static const int PsbSerLinkNumberChannels;
64 
65 public:
67  inline const int gtBoardSlot() const { return m_gtBoardSlot; }
68 
69  void setGtBoardSlot(const int&);
70 
72  inline const bool gtPsbCh0SendLvds() const { return m_gtPsbCh0SendLvds; }
73 
74  void setGtPsbCh0SendLvds(const bool&);
75 
77  inline const bool gtPsbCh1SendLvds() const { return m_gtPsbCh1SendLvds; }
78 
79  void setGtPsbCh1SendLvds(const bool&);
80 
82  inline const std::vector<bool>& gtPsbEnableRecLvds() const { return m_gtPsbEnableRecLvds; }
83 
84  void setGtPsbEnableRecLvds(const std::vector<bool>&);
85 
87  inline const std::vector<bool>& gtPsbEnableRecSerLink() const { return m_gtPsbEnableRecSerLink; }
88 
89  void setGtPsbEnableRecSerLink(const std::vector<bool>&);
90 
92  void print(std::ostream& myCout) const;
93 
95  friend std::ostream& operator<<(std::ostream&, const L1GtPsbConfig&);
96 
97 private:
100 
103 
106 
109  std::vector<bool> m_gtPsbEnableRecLvds;
110 
112  std::vector<bool> m_gtPsbEnableRecSerLink;
113 
115 };
116 
117 #endif /*CondFormats_L1TObjects_L1GtPsbConfig_h*/
bool operator!=(const L1GtPsbConfig &) const
unequal 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 gtPsbCh1SendLvds() const
get / set CH1_SEND_LVDS_NOT_DS92LV16
Definition: L1GtPsbConfig.h:77
static const int PsbSerLinkNumberChannels
number of channels per board
Definition: L1GtPsbConfig.h:63
int m_gtBoardSlot
the slot of board (part of Board_Id)
Definition: L1GtPsbConfig.h:99
static const int PsbNumberLvdsGroups
number of LVDS groups per board
Definition: L1GtPsbConfig.h:60
bool operator==(const L1GtPsbConfig &) const
equal operator
friend std::ostream & operator<<(std::ostream &, const L1GtPsbConfig &)
output stream operator
const std::vector< bool > & gtPsbEnableRecLvds() const
get / set enable LVDS
Definition: L1GtPsbConfig.h:82
bool m_gtPsbCh0SendLvds
CH0_SEND_LVDS_NOT_DS92LV16.
void setGtPsbEnableRecSerLink(const std::vector< bool > &)
L1GtPsbConfig()
constructors
const std::vector< bool > & gtPsbEnableRecSerLink() const
get / set enable channels for receiving signal via serial links
Definition: L1GtPsbConfig.h:87
std::vector< bool > m_gtPsbEnableRecLvds
const int gtBoardSlot() const
get / set board slot
Definition: L1GtPsbConfig.h:67
bool operator<(const L1GtPsbConfig &) const
less than operator
void setGtBoardSlot(const int &)
void print(std::ostream &myCout) const
print board
const bool gtPsbCh0SendLvds() const
get / set CH0_SEND_LVDS_NOT_DS92LV16
Definition: L1GtPsbConfig.h:72
#define COND_SERIALIZABLE
Definition: Serializable.h:39
void setGtPsbCh1SendLvds(const bool &)
virtual ~L1GtPsbConfig()
destructor
std::vector< bool > m_gtPsbEnableRecSerLink
enable channels for receiving signal via serial links