ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <stdlib.h>
#include <stdio.h>
#include <malloc.h>
#include "phenixOnline.h"
#include "fakeFrame.h"
#include "Cframe.h"
#include "CframeV1.h"
#include "packetRoutines.h"
#include "frameRoutines.h"
#include "framePublic.h"
#include "formatIO.h"
Go to the source code of this file.
Macros | |
#define | BUFFER_SIZE 65536 |
Functions | |
int | fakeFrame (PHDWORD *frame_ptr, int bufferSize, UINT sourceId, ALIGNBLK alignBlk, int number_of_packets, int packet_ids[], int packet_lengths[], int historySize, int errorSize) |
int | splitFakeFrame (PHDWORD *frame_ptr, int total_frame_size, int length_of_buffer, PHDWORD *start_of_buffer[]) |
#define BUFFER_SIZE 65536 |
Definition at line 35 of file fakeFrame.C.
View newest version in sPHENIX GitHub at line 35 of file fakeFrame.C
Referenced by PHG4DSTReader::build_tree(), and fakeFrame().
int fakeFrame | ( | PHDWORD * | frame_ptr, |
int | bufferSize, | ||
UINT | sourceId, | ||
ALIGNBLK | alignBlk, | ||
int | number_of_packets, | ||
int | packet_ids[], | ||
int | packet_lengths[], | ||
int | historySize, | ||
int | errorSize | ||
) |
Definition at line 37 of file fakeFrame.C.
View newest version in sPHENIX GitHub at line 37 of file fakeFrame.C
References BUFFER_SIZE, Debug_Output, dwordClear, check_license::err(), extendFrameDataNopad(), findFrameEnd(), getFrameDataLength(), getFrameLength(), int(), makeFrameHdr(), makeUnstructPacket(), printf(), setAlignBlock(), storeFrameHistory(), storePacketHits(), and x1.
int splitFakeFrame | ( | PHDWORD * | frame_ptr, |
int | total_frame_size, | ||
int | length_of_buffer, | ||
PHDWORD * | start_of_buffer[] | ||
) |
Definition at line 139 of file fakeFrame.C.
View newest version in sPHENIX GitHub at line 139 of file fakeFrame.C