1100 |
// }; |
// }; |
1101 |
for (Int_t j = ipre*16 ; j < (ipre+1)*16 ; j++){ |
for (Int_t j = ipre*16 ; j < (ipre+1)*16 ; j++){ |
1102 |
if ( !ctground ){ |
if ( !ctground ){ |
1103 |
clevel1->estrip[j][m][l] += (qpre[ipre] - qpre[ip[i]]) * ctprecor[l][m][ip[i]]; |
clevel1->estrip[j][m][l] += qpre[ipre] * ctprecor[l][m][ipre] - qpre[ip[i]] * ctprecor[l][m][ip[i]]; |
1104 |
} else { |
} else { |
1105 |
clevel1->estrip[j][m][l] += (qpre[ipre] - qpre[ip[i]]) * 0.00478; |
clevel1->estrip[j][m][l] += (qpre[ipre] - qpre[ip[i]]) * 0.00478; |
1106 |
}; |
}; |
1108 |
}; |
}; |
1109 |
if (ck[pre] == 2 && ck[pre-1] == 2){ |
if (ck[pre] == 2 && ck[pre-1] == 2){ |
1110 |
for (Int_t j = i*32 ; j < (i+1)*32 ; j++){ |
for (Int_t j = i*32 ; j < (i+1)*32 ; j++){ |
1111 |
ipre = j/16 + 1; |
// ipre = j/16 + 1; |
1112 |
|
ipre = j/16 ; |
1113 |
if ( !ctground ){ |
if ( !ctground ){ |
1114 |
clevel1->estrip[j][m][l] += qpre[ipre] * ctprecor[l][m][ipre]; |
clevel1->estrip[j][m][l] += qpre[ipre] * ctprecor[l][m][ipre]; |
1115 |
} else { |
} else { |