307 |
fread(&tmp,sizeof(clevel1->xalig),1,f); |
fread(&tmp,sizeof(clevel1->xalig),1,f); |
308 |
fread(&tmp,sizeof(clevel1->yalig),1,f); |
fread(&tmp,sizeof(clevel1->yalig),1,f); |
309 |
fread(&tmp,sizeof(clevel1->zalig),1,f); |
fread(&tmp,sizeof(clevel1->zalig),1,f); |
310 |
|
// clevel1->zalig = -265.82; |
311 |
// |
// |
312 |
}; |
}; |
313 |
fread(&clevel1->emin,sizeof(clevel1->emin),1,f); |
fread(&clevel1->emin,sizeof(clevel1->emin),1,f); |
1088 |
if ( obadmask[l][m][j4] == 1 || clevel1->estrip[j4][m][l] <= clevel1->emin || calrms[l][m][j4] > 26 ){ |
if ( obadmask[l][m][j4] == 1 || clevel1->estrip[j4][m][l] <= clevel1->emin || calrms[l][m][j4] > 26 ){ |
1089 |
clevel1->estrip[j4][m][l] = 0.; |
clevel1->estrip[j4][m][l] = 0.; |
1090 |
}; |
}; |
1091 |
// |
// |
1092 |
// code and save the energy for each strip in svstrip |
// code and save the energy for each strip in svstrip |
1093 |
// |
// |
1094 |
if ( clevel1->estrip[j4][m][l] > clevel1->emin ){ |
if ( clevel1->estrip[j4][m][l] > clevel1->emin ){ |
1095 |
// |
// |
1096 |
|
Float_t savel1 = clevel1->estrip[j4][m][l]; |
1097 |
|
if ( dexyc[j4][m][l] == 32767. ) savel1 += 5000.; |
1098 |
|
// |
1099 |
tim = 100000.; |
tim = 100000.; |
1100 |
plo = m; |
plo = m; |
1101 |
fbi = 0; |
fbi = 0; |
1102 |
if ( clevel1->estrip[j4][m][l] > 0.99995 ){ |
if ( savel1 > 0.99995 ){ |
1103 |
tim = 10000.; |
tim = 10000.; |
1104 |
plo = m; |
plo = m; |
1105 |
fbi = 1; |
fbi = 1; |
1106 |
}; |
}; |
1107 |
if ( clevel1->estrip[j4][m][l] > 9.9995 ){ |
if ( savel1 > 9.9995 ){ |
1108 |
tim = 1000.; |
tim = 1000.; |
1109 |
plo = 22 + m; |
plo = 22 + m; |
1110 |
fbi = 1; |
fbi = 1; |
1111 |
}; |
}; |
1112 |
if ( clevel1->estrip[j4][m][l] > 99.995 ){ |
if ( savel1 > 99.995 ){ |
1113 |
tim = 100.; |
tim = 100.; |
1114 |
plo = 22 + m; |
plo = 22 + m; |
1115 |
fbi = 0; |
fbi = 0; |
1116 |
}; |
}; |
1117 |
if ( clevel1->estrip[j4][m][l] > 999.95 ){ |
if ( savel1 > 999.95 ){ |
1118 |
tim = 10.; |
tim = 10.; |
1119 |
plo = 44 + m; |
plo = 44 + m; |
1120 |
fbi = 0; |
fbi = 0; |
1121 |
}; |
}; |
1122 |
if ( clevel1->estrip[j4][m][l] > 9999.5 ){ |
if ( savel1 > 9999.5 ){ |
1123 |
tim = 1.; |
tim = 1.; |
1124 |
plo = 66 + m; |
plo = 66 + m; |
1125 |
fbi = 0; |
fbi = 0; |
1126 |
}; |
}; |
1127 |
// |
// |
1128 |
cle = (Int_t)lroundf(tim*clevel1->estrip[j4][m][l]); |
cle = (Int_t)lroundf(tim*savel1); |
1129 |
// |
// |
1130 |
if ( l == 0 ){ |
if ( l == 0 ){ |
1131 |
// |
// |