#include <stdio.h>#include <stdlib.h>#include <math.h>#include <ctype.h>#include <string.h>#include <unistd.h>#include <time.h>#include "include/swap.h"#include "include/ecat7.h"Functions | |
| void | ecat7InitMatlist (ECAT7_MATRIXLIST *mlist) |
| void | ecat7EmptyMatlist (ECAT7_MATRIXLIST *mlist) |
| int | ecat7ReadMatlist (FILE *fp, ECAT7_MATRIXLIST *ml) |
| void | ecat7PrintMatlist (ECAT7_MATRIXLIST *ml) |
| int | ecat7EnterMatrix (FILE *fp, int matrix_id, int block_nr) |
| int | ecat7_val_to_id (int frame, int plane, int gate, int data, int bed) |
| void | ecat7_id_to_val (int matrix_id, ECAT7_Matval *matval) |
| void | ecat7SortMatlistByPlane (ECAT7_MATRIXLIST *ml) |
| void | ecat7SortMatlistByFrame (ECAT7_MATRIXLIST *ml) |
| int | ecat7CheckMatlist (ECAT7_MATRIXLIST *ml) |
| int | ecat7DeleteLateFrames (ECAT7_MATRIXLIST *ml, int frame_nr) |
|
||||||||||||
|
Conversion of matrix identifier to numerical values |
|
||||||||||||||||||||||||
|
Returns the matrix identifier |
|
|
Checks that all matrixlist entries have read/write status.
|
|
||||||||||||
|
Mark deleted the frames after the specified frame number.
|
|
|
Free memory allocated for ECAT matrix list. |
|
||||||||||||||||
|
Prepare matrix list for additional matrix data and return block number for matrix header. Directory records are written in big endian byte order. Set block_nr to the number of data blocks + (nr of header blocks - 1)
|
|
|
Initiate ECAT matrix list. Call this once before first use. |
|
|
Print ECAT matrix list on stdout. |
|
||||||||||||
|
Read ECAT matrix list. Matrix list must be initiated (once) before calling this.
|
|
|
Sort matrixlist by frame and plane |
|
|
Sort matrixlist by plane and frame |
1.4.1