6 #ifndef SOURCECARDROUTING_H 7 #define SOURCECARDROUTING_H 31 unsigned short sfp[2][4];
37 void EMUtoSFP(
unsigned short (&eIsoRank)[4],
38 unsigned short (&eIsoCardId)[4],
39 unsigned short (&eIsoRegionId)[4],
40 unsigned short (&eNonIsoRank)[4],
41 unsigned short (&eNonIsoCardId)[4],
42 unsigned short (&eNonIsoRegionId)[4],
43 unsigned short (&MIPbits)[7][2],
44 unsigned short (&Qbits)[7][2],
45 unsigned short (&SFP)[2][4])
const;
50 void SFPtoEMU(
unsigned short (&eIsoRank)[4],
51 unsigned short (&eIsoCardId)[4],
52 unsigned short (&eIsoRegionId)[4],
53 unsigned short (&eNonIsoRank)[4],
54 unsigned short (&eNonIsoCardId)[4],
55 unsigned short (&eNonIsoRegionId)[4],
56 unsigned short (&MIPbits)[7][2],
57 unsigned short (&Qbits)[7][2],
58 unsigned short (&SFP)[2][4])
const;
65 unsigned short (&RCof)[7][2],
66 unsigned short (&RCtau)[7][2],
67 unsigned short (&
HF)[4][2],
68 unsigned short (&HFQ)[4][2],
69 unsigned short (&SFP)[2][4])
const;
75 unsigned short (&RCof)[7][2],
76 unsigned short (&RCtau)[7][2],
77 unsigned short (&
HF)[4][2],
78 unsigned short (&HFQ)[4][2],
79 unsigned short (&SFP)[2][4])
const;
84 unsigned short (&RCof)[7][2],
85 unsigned short (&RCtau)[7][2],
86 unsigned short (&SFP)[2][4])
const;
91 unsigned short (&RCof)[7][2],
92 unsigned short (&RCtau)[7][2],
93 unsigned short (&SFP)[2][4])
const;
98 unsigned short (&RCof)[7][2],
99 unsigned short (&RCtau)[7][2],
100 unsigned short (&sisterRC)[7][2],
101 unsigned short (&sisterRCof)[7][2],
102 unsigned short (&sisterRCtau)[7][2],
103 unsigned short (&SFP)[2][4])
const;
108 unsigned short (&RCof)[7][2],
109 unsigned short (&RCtau)[7][2],
110 unsigned short (&sisterRC)[7][2],
111 unsigned short (&sisterRCof)[7][2],
112 unsigned short (&sisterRCtau)[7][2],
113 unsigned short (&SFP)[2][4])
const;
120 void SFPtoVHDCI(
int RoutingMode,
unsigned short (&SFP)[2][4],
unsigned long (&VHDCI)[2][2])
const;
124 void VHDCItoSFP(
int RoutingMode,
unsigned short (&SFP)[2][4],
unsigned long (&VHDCI)[2][2])
const;
132 void EMUtoVHDCI(
unsigned short (&eIsoRank)[4],
133 unsigned short (&eIsoCardId)[4],
134 unsigned short (&eIsoRegionId)[4],
135 unsigned short (&eNonIsoRank)[4],
136 unsigned short (&eNonIsoCardId)[4],
137 unsigned short (&eNonIsoRegionId)[4],
138 unsigned short (&MIPbits)[7][2],
139 unsigned short (&Qbits)[7][2],
140 unsigned long (&VHDCI)[2][2])
const;
145 void VHDCItoEMU(
unsigned short (&eIsoRank)[4],
146 unsigned short (&eIsoCardId)[4],
147 unsigned short (&eIsoRegionId)[4],
148 unsigned short (&eNonIsoRank)[4],
149 unsigned short (&eNonIsoCardId)[4],
150 unsigned short (&eNonIsoRegionId)[4],
151 unsigned short (&MIPbits)[7][2],
152 unsigned short (&Qbits)[7][2],
153 unsigned long (&VHDCI)[2][2])
const;
161 unsigned short (&RCof)[7][2],
162 unsigned short (&RCtau)[7][2],
163 unsigned short (&
HF)[4][2],
164 unsigned short (&HFQ)[4][2],
165 unsigned long (&VHDCI)[2][2])
const;
171 unsigned short (&RCof)[7][2],
172 unsigned short (&RCtau)[7][2],
173 unsigned short (&
HF)[4][2],
174 unsigned short (&HFQ)[4][2],
175 unsigned long (&VHDCI)[2][2])
const;
180 unsigned short (&RCof)[7][2],
181 unsigned short (&RCtau)[7][2],
182 unsigned long (&VHDCI)[2][2])
const;
187 unsigned short (&RCof)[7][2],
188 unsigned short (&RCtau)[7][2],
189 unsigned long (&VHDCI)[2][2])
const;
194 unsigned short (&RCof)[7][2],
195 unsigned short (&RCtau)[7][2],
196 unsigned short (&sisterRC)[7][2],
197 unsigned short (&sisterRCof)[7][2],
198 unsigned short (&sisterRCtau)[7][2],
199 unsigned long (&VHDCI)[2][2])
const;
204 unsigned short (&RCof)[7][2],
205 unsigned short (&RCtau)[7][2],
206 unsigned short (&sisterRC)[7][2],
207 unsigned short (&sisterRCof)[7][2],
208 unsigned short (&sisterRCtau)[7][2],
209 unsigned long (&VHDCI)[2][2])
const;
217 unsigned short &eventNumber,
218 unsigned short (&eIsoRank)[4],
219 unsigned short (&eIsoCardId)[4],
220 unsigned short (&eIsoRegionId)[4],
221 unsigned short (&eNonIsoRank)[4],
222 unsigned short (&eNonIsoCardId)[4],
223 unsigned short (&eNonIsoRegionId)[4],
224 unsigned short (&MIPbits)[7][2],
225 unsigned short (&Qbits)[7][2],
231 unsigned short &eventNumber,
232 unsigned short (&RC)[7][2],
233 unsigned short (&RCof)[7][2],
234 unsigned short (&RCtau)[7][2],
235 unsigned short (&
HF)[4][2],
236 unsigned short (&HFQ)[4][2],
241 unsigned short &eventNumber,
242 unsigned short (&RC)[7][2],
243 unsigned short (&RCof)[7][2],
244 unsigned short (&RCtau)[7][2],
249 unsigned short &eventNumber,
250 unsigned short (&RC)[7][2],
251 unsigned short (&RCof)[7][2],
252 unsigned short (&RCtau)[7][2],
253 unsigned short (&sisterRC)[7][2],
254 unsigned short (&sisterRCof)[7][2],
255 unsigned short (&sisterRCtau)[7][2],
262 unsigned short &eventNumber,
264 unsigned short (&SFP)[2][4],
271 unsigned short &eventNumber,
273 unsigned long (&VHDCI)[2][2])
const;
277 unsigned short &eventNumber,
279 unsigned long (&VHDCI)[2][2])
const;
289 #endif //~SOURCECARDMANAGER_H unsigned short eIsoCardId[4]
void SFPtoRC012(unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&SFP)[2][4]) const
void RC012toSTRING(unsigned short &logicalCardID, unsigned short &eventNumber, unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], std::string &dataString) const
unsigned short eIsoRank[4]
void VHDCItoRC234(unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&sisterRC)[7][2], unsigned short(&sisterRCof)[7][2], unsigned short(&sisterRCtau)[7][2], unsigned long(&VHDCI)[2][2]) const
void LogicalCardIDtoRoutingMode(unsigned short &logicalCardID, int &RoutingMode, int &RCTCrateNumber) const
void SFPtoRC234(unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&sisterRC)[7][2], unsigned short(&sisterRCof)[7][2], unsigned short(&sisterRCtau)[7][2], unsigned short(&SFP)[2][4]) const
void RC012toSFP(unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&SFP)[2][4]) const
void SFPtoSTRING(unsigned short &logicalCardID, unsigned short &eventNumber, int RoutingMode, unsigned short(&SFP)[2][4], std::string &dataString) const
void RC56HFtoSFP(unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&HF)[4][2], unsigned short(&HFQ)[4][2], unsigned short(&SFP)[2][4]) const
void RC56HFtoSTRING(unsigned short &logicalCardID, unsigned short &eventNumber, unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&HF)[4][2], unsigned short(&HFQ)[4][2], std::string &dataString) const
void VHDCItoRC56HF(unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&HF)[4][2], unsigned short(&HFQ)[4][2], unsigned long(&VHDCI)[2][2]) const
void VHDCItoSTRING(unsigned short &logicalCardID, unsigned short &eventNumber, std::string &dataString, unsigned long(&VHDCI)[2][2]) const
void SFPtoRC56HF(unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&HF)[4][2], unsigned short(&HFQ)[4][2], unsigned short(&SFP)[2][4]) const
void SFPtoEMU(unsigned short(&eIsoRank)[4], unsigned short(&eIsoCardId)[4], unsigned short(&eIsoRegionId)[4], unsigned short(&eNonIsoRank)[4], unsigned short(&eNonIsoCardId)[4], unsigned short(&eNonIsoRegionId)[4], unsigned short(&MIPbits)[7][2], unsigned short(&Qbits)[7][2], unsigned short(&SFP)[2][4]) const
void EMUtoSFP(unsigned short(&eIsoRank)[4], unsigned short(&eIsoCardId)[4], unsigned short(&eIsoRegionId)[4], unsigned short(&eNonIsoRank)[4], unsigned short(&eNonIsoCardId)[4], unsigned short(&eNonIsoRegionId)[4], unsigned short(&MIPbits)[7][2], unsigned short(&Qbits)[7][2], unsigned short(&SFP)[2][4]) const
void EMUtoSTRING(unsigned short &logicalCardID, unsigned short &eventNumber, unsigned short(&eIsoRank)[4], unsigned short(&eIsoCardId)[4], unsigned short(&eIsoRegionId)[4], unsigned short(&eNonIsoRank)[4], unsigned short(&eNonIsoCardId)[4], unsigned short(&eNonIsoRegionId)[4], unsigned short(&MIPbits)[7][2], unsigned short(&Qbits)[7][2], std::string &dataString) const
void VHDCItoRC012(unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned long(&VHDCI)[2][2]) const
void VHDCItoSFP(int RoutingMode, unsigned short(&SFP)[2][4], unsigned long(&VHDCI)[2][2]) const
void RC56HFtoVHDCI(unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&HF)[4][2], unsigned short(&HFQ)[4][2], unsigned long(&VHDCI)[2][2]) const
unsigned short eNonIsoRank[4]
void STRINGtoVHDCI(unsigned short &logicalCardID, unsigned short &eventNumber, std::string &dataString, unsigned long(&VHDCI)[2][2]) const
unsigned short eIsoRegionId[4]
void RC234toSTRING(unsigned short &logicalCardID, unsigned short &eventNumber, unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&sisterRC)[7][2], unsigned short(&sisterRCof)[7][2], unsigned short(&sisterRCtau)[7][2], std::string &dataString) const
void SFPtoVHDCI(int RoutingMode, unsigned short(&SFP)[2][4], unsigned long(&VHDCI)[2][2]) const
unsigned short eNonIsoCardId[4]
unsigned short qBits[7][2]
void VHDCItoEMU(unsigned short(&eIsoRank)[4], unsigned short(&eIsoCardId)[4], unsigned short(&eIsoRegionId)[4], unsigned short(&eNonIsoRank)[4], unsigned short(&eNonIsoCardId)[4], unsigned short(&eNonIsoRegionId)[4], unsigned short(&MIPbits)[7][2], unsigned short(&Qbits)[7][2], unsigned long(&VHDCI)[2][2]) const
void RC234toSFP(unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&sisterRC)[7][2], unsigned short(&sisterRCof)[7][2], unsigned short(&sisterRCtau)[7][2], unsigned short(&SFP)[2][4]) const
void RC012toVHDCI(unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned long(&VHDCI)[2][2]) const
unsigned short mipBits[7][2]
unsigned short eNonIsoRegionId[4]
void RoutingModetoLogicalCardID(unsigned short &logicalCardID, int &RoutingMode, int &RCTCrateNumber) const
void EMUtoVHDCI(unsigned short(&eIsoRank)[4], unsigned short(&eIsoCardId)[4], unsigned short(&eIsoRegionId)[4], unsigned short(&eNonIsoRank)[4], unsigned short(&eNonIsoCardId)[4], unsigned short(&eNonIsoRegionId)[4], unsigned short(&MIPbits)[7][2], unsigned short(&Qbits)[7][2], unsigned long(&VHDCI)[2][2]) const
void RC234toVHDCI(unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&sisterRC)[7][2], unsigned short(&sisterRCof)[7][2], unsigned short(&sisterRCtau)[7][2], unsigned long(&VHDCI)[2][2]) const