mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 01:00:02 +02:00
changed the file header size t0 1kb and changed its description in the header
This commit is contained in:
parent
78958c7699
commit
6f34dddb5a
@ -630,7 +630,7 @@ private:
|
||||
bool fileCreateSuccess;
|
||||
|
||||
/** File header */
|
||||
const static unsigned int FILE_HEADER_SIZE = 500;
|
||||
const static unsigned int FILE_HEADER_SIZE = 1000;
|
||||
char fileHeader[MAX_NUMBER_OF_WRITER_THREADS][FILE_HEADER_SIZE];
|
||||
|
||||
/** File Descriptor */
|
||||
|
@ -3196,8 +3196,20 @@ void UDPStandardImplementation::updateFileHeader(int ithread){
|
||||
"Timestamp\t: %s\n\n"
|
||||
|
||||
"#Frame Header\n"
|
||||
"Frame Number\t: 8 bytes\n"
|
||||
"Bunch ID\t: 8 bytes\n",
|
||||
"Frame Number : 8 bytes\n"
|
||||
"Exposure Length : 4 bytes\n"
|
||||
"Packet Number : 4 bytes\n"
|
||||
"Bunch ID : 8 bytes\n"
|
||||
"Timestamp : 8 bytes\n"
|
||||
"Module Id : 2 bytes\n"
|
||||
"X Coordinate : 2 bytes\n"
|
||||
"Y Coordinate : 2 bytes\n"
|
||||
"Z Coordinate : 2 bytes\n"
|
||||
"Debug : 4 bytes\n"
|
||||
"Round Robin Number : 2 bytes\n"
|
||||
"Detector Type : 1 byte\n"
|
||||
"Header Version : 1 byte\n"
|
||||
,
|
||||
FILE_HEADER_SIZE,
|
||||
(flippedData[0]?0:1),
|
||||
(ithread?0:1),
|
||||
|
Loading…
x
Reference in New Issue
Block a user