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 ("
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 ("
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 <<
">";
76 if (
data(
"eta matrix") >>
"eta" >>
parser.etaIndex >>
"phi" >>
parser.phiIndex >>
":" >>
"low Pt" >>
parser.lowPtNumCo >>
"," >>
77 parser.lowPtStartCo >>
"-" >>
parser.lowPtStopCo >>
"high Pt" >>
parser.highPtNumCo >>
"," >>
parser.highPtStartCo >>
"-" >>
79 if (
parser.lowPtNumCo == 0) {
84 if (
parser.highPtNumCo == 0) {
99 std::unique_ptr<EtaCMA> CMA = std::make_unique<EtaCMA>(
m_etaCMA.front());
107 stream <<
"CMA cabling data ";
110 stream <<
" eta CMAs:" << std::endl;
111 ETAlist::const_iterator ei;