26 unsigned int div = 247;
29 std::ostringstream disp;
31 bool have_low_Pt_input = (parser.lowPtNumCo != -1);
32 bool have_high_Pt_input = (parser.highPtNumCo != -1);
35 if (parser.lowPtStartCo >= parser.lowPtStopCo && have_low_Pt_input) {
37 <<
"CMA cabling error in CONF data for Sector Type " << parser.sectorType <<
", " << view
38 <<
" CMA at eta = " << parser.etaIndex <<
", phi = " << parser.phiIndex << std::endl
39 <<
" start position for low Pt cabling (" << parser.lowPtStartCo <<
") is greater than stop position ("
40 << parser.lowPtStopCo;
43 if (parser.lowPtStopCo - parser.lowPtStartCo + 1 != parser.lowPtNumCo && have_low_Pt_input) {
45 <<
"CMA cabling error in CONF data for Sector Type " << parser.sectorType <<
", " << view
46 <<
" CMA at eta = " << parser.etaIndex <<
", phi = " << parser.phiIndex << std::endl
47 <<
" cabling inconsistence for low Pt <" << parser.lowPtNumCo <<
", " << parser.lowPtStartCo <<
" " << (char)div <<
" "
48 << parser.lowPtStopCo <<
">";
52 if (parser.highPtStartCo >= parser.highPtStopCo && have_high_Pt_input) {
54 <<
"CMA cabling error in CONF data for Sector Type " << parser.sectorType <<
", " << view
55 <<
" CMA at eta = " << parser.etaIndex <<
", phi = " << parser.phiIndex << std::endl
56 <<
" start position for high Pt cabling (" << parser.highPtStartCo <<
") is greater than stop position ("
57 << parser.highPtStopCo;
60 if (parser.highPtStopCo - parser.highPtStartCo + 1 != parser.highPtNumCo && have_high_Pt_input) {
62 <<
"CMA cabling error in CONF data for Sector Type " << parser.sectorType <<
", " << view
63 <<
" CMA at eta = " << parser.etaIndex <<
", phi = " << parser.phiIndex << std::endl
64 <<
" cabling inconsistence for high Pt <" << parser.highPtNumCo <<
", " << parser.highPtStartCo <<
" " << (char)div <<
" "
65 << parser.highPtStopCo <<
">";