FSU2CAEN add the energy short

This commit is contained in:
Ryan Tang 2024-06-18 14:37:23 -04:00
parent bbe9ef7990
commit 1b3c1733ce

View File

@ -177,6 +177,7 @@ int main(int argc, char **argv) {
unsigned psTimestamp = hitList[g0][evID[g0]].timestamp * 1000 + hitList[g0][evID[g0]].fineTime;
fwrite(&(psTimestamp), 8, 1, outFile);
fwrite(&(hitList[g0][evID[g0]].energy), 2, 1, outFile);
if( hitList[g0][evID[g0]].energy2 > 0 ) fwrite(&(hitList[g0][evID[g0]].energy2), 2, 1, outFile);
fwrite(&(flags), 4, 1, outFile);
if( hitList[g0][evID[g0]].traceLength > 0 ){
char waveCode = 1;