Analysis Software
Documentation for sPHENIX simulation software
|
#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 Prototype2DSTReader::build_tree(), Prototype4DSTReader::build_tree(), Prototype3DSTReader::build_tree(), 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(), i, j, makeFrameHdr(), makeUnstructPacket(), printf(), setAlignBlock(), storeFrameHistory(), and storePacketHits().
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