File indexing completed on 2024-04-06 12:10:57
0001 #ifndef RCTInfo_hh
0002 #define RCTInfo_hh
0003
0004 class RCTInfo {
0005 public:
0006 RCTInfo() {
0007 crateID = 0;
0008 linkIDEven = 0;
0009 linkIDOdd = 0;
0010 c1BC0 = 0;
0011 c2BC0 = 0;
0012 c3BC0 = 0;
0013 c4BC0 = 0;
0014 c5BC0 = 0;
0015 c6BC0 = 0;
0016 for (int i = 0; i < 4; i++)
0017 ieRank[i] = 0;
0018 for (int i = 0; i < 4; i++)
0019 ieCard[i] = 0;
0020 for (int i = 0; i < 4; i++)
0021 ieRegn[i] = 0;
0022 mBits = 0;
0023 qBits = 0;
0024 for (int i = 0; i < 4; i++)
0025 neRank[i] = 0;
0026 for (int i = 0; i < 4; i++)
0027 neCard[i] = 0;
0028 for (int i = 0; i < 4; i++)
0029 neRegn[i] = 0;
0030 oBits = 0;
0031 tBits = 0;
0032 for (int i = 0; i < 2; i++) {
0033 for (int j = 0; j < 4; j++) {
0034 hfEt[i][j] = 0;
0035 }
0036 }
0037 for (int i = 0; i < 7; i++) {
0038 for (int j = 0; j < 2; j++) {
0039 rgnEt[i][j] = 0;
0040 }
0041 }
0042
0043 hfQBits = 0;
0044 }
0045 RCTInfo(const RCTInfo& in) {
0046 crateID = in.crateID;
0047 linkIDEven = in.linkIDEven;
0048 linkIDOdd = in.linkIDOdd;
0049 c1BC0 = in.c1BC0;
0050 c2BC0 = in.c2BC0;
0051 c3BC0 = in.c3BC0;
0052 c4BC0 = in.c4BC0;
0053 c5BC0 = in.c5BC0;
0054 c6BC0 = in.c6BC0;
0055 for (int i = 0; i < 4; i++)
0056 ieRank[i] = in.ieRank[i];
0057 for (int i = 0; i < 4; i++)
0058 ieCard[i] = in.ieCard[i];
0059 for (int i = 0; i < 4; i++)
0060 ieRegn[i] = in.ieRegn[i];
0061 mBits = in.mBits;
0062 qBits = in.qBits;
0063 for (int i = 0; i < 4; i++)
0064 neRank[i] = in.neRank[i];
0065 for (int i = 0; i < 4; i++)
0066 neCard[i] = in.neCard[i];
0067 for (int i = 0; i < 4; i++)
0068 neRegn[i] = in.neRegn[i];
0069 oBits = in.oBits;
0070 tBits = in.tBits;
0071 for (int i = 0; i < 2; i++) {
0072 for (int j = 0; j < 4; j++) {
0073 hfEt[i][j] = in.hfEt[i][j];
0074 }
0075 }
0076 for (int i = 0; i < 7; i++) {
0077 for (int j = 0; j < 2; j++) {
0078 rgnEt[i][j] = in.rgnEt[i][j];
0079 }
0080 }
0081 hfQBits = in.hfQBits;
0082 }
0083 void operator=(const RCTInfo& in) {
0084 this->crateID = in.crateID;
0085 this->linkIDEven = in.linkIDEven;
0086 this->linkIDOdd = in.linkIDOdd;
0087 this->c1BC0 = in.c1BC0;
0088 this->c2BC0 = in.c2BC0;
0089 this->c3BC0 = in.c3BC0;
0090 this->c4BC0 = in.c4BC0;
0091 this->c5BC0 = in.c5BC0;
0092 this->c6BC0 = in.c6BC0;
0093 for (int i = 0; i < 4; i++)
0094 this->ieRank[i] = in.ieRank[i];
0095 for (int i = 0; i < 4; i++)
0096 this->ieCard[i] = in.ieCard[i];
0097 for (int i = 0; i < 4; i++)
0098 this->ieRegn[i] = in.ieRegn[i];
0099 this->mBits = in.mBits;
0100 this->qBits = in.qBits;
0101 for (int i = 0; i < 4; i++)
0102 this->neRank[i] = in.neRank[i];
0103 for (int i = 0; i < 4; i++)
0104 this->neCard[i] = in.neCard[i];
0105 for (int i = 0; i < 4; i++)
0106 this->neRegn[i] = in.neRegn[i];
0107 this->oBits = in.oBits;
0108 this->tBits = in.tBits;
0109 for (int i = 0; i < 2; i++) {
0110 for (int j = 0; j < 4; j++) {
0111 this->hfEt[i][j] = in.hfEt[i][j];
0112 }
0113 }
0114 for (int i = 0; i < 7; i++) {
0115 for (int j = 0; j < 2; j++) {
0116 this->rgnEt[i][j] = in.rgnEt[i][j];
0117 }
0118 }
0119 this->hfQBits = in.hfQBits;
0120 }
0121 unsigned int crateID;
0122 unsigned int linkIDEven;
0123 unsigned int linkIDOdd;
0124 unsigned int c1BC0;
0125 unsigned int c2BC0;
0126 unsigned int c3BC0;
0127 unsigned int c4BC0;
0128 unsigned int c5BC0;
0129 unsigned int c6BC0;
0130 unsigned int ieRank[4];
0131 unsigned int ieCard[4];
0132 unsigned int ieRegn[4];
0133 unsigned int mBits;
0134 unsigned int qBits;
0135 unsigned int neRank[4];
0136 unsigned int neCard[4];
0137 unsigned int neRegn[4];
0138 unsigned int oBits;
0139 unsigned int tBits;
0140 unsigned int hfEt[2][4];
0141 unsigned int rgnEt[7][2];
0142 unsigned int hfQBits;
0143 };
0144
0145 #endif