Analysis Software
Documentation for sPHENIX simulation software
|
#include "phenixOnline.h"
#include "frameHdr.h"
#include "Cframe.h"
#include "CframeV1.h"
#include <stdlib.h>
Go to the source code of this file.
typedef ACCESSFUNCTION* ACCESSFUNCTIONPTR_arr[NUM_FRAME_VERSIONS] |
typedef CHECKFUNCTION* CHECKFUNCTIONPTR_arr[NUM_FRAME_VERSIONS] |
typedef FINDNEXTFUNCTION* FINDNEXTFUNCTIONPTR_arr[NUM_FRAME_VERSIONS] |
typedef LARRAYCOPYFUNCTION* LARRAYCOPYFUNCTIONPTR_arr[NUM_FRAME_VERSIONS] |
typedef LOGICALMODIFYFUNCTION* LOGICALMODIFYFUNCTIONPTR_arr[NUM_FRAME_VERSIONS] |
typedef MAKEHDRFUNCTION* MAKEHDRFUNCTIONPTR_arr[NUM_FRAME_VERSIONS] |
typedef MODIFYFUNCTION* MODIFYFUNCTIONPTR_arr[NUM_FRAME_VERSIONS] |
typedef PARAMACCESSFUNCTION* PARAMACCESSFUNCTIONPTR_arr[NUM_FRAME_VERSIONS] |
typedef PTRACCESSFUNCTION* PTRACCESSFUNCTIONPTR_arr[NUM_FRAME_VERSIONS] |
typedef VARRAYCOPYFUNCTION* VARRAYCOPYFUNCTIONPTR_arr[NUM_FRAME_VERSIONS] |
Definition at line 411 of file Cframe.C.
View newest version in sPHENIX GitHub at line 411 of file Cframe.C
References adjustFrameDataLengthV, getFrameHdrVersion(), and valueFailure.
Referenced by extendFrameData(), and extendFrameDataNopad().
Definition at line 430 of file Cframe.C.
View newest version in sPHENIX GitHub at line 430 of file Cframe.C
References adjustFrameErrorLengthV, getFrameHdrVersion(), and valueFailure.
Definition at line 421 of file Cframe.C.
View newest version in sPHENIX GitHub at line 421 of file Cframe.C
References adjustFrameHistoryLengthV, getFrameHdrVersion(), and valueFailure.
Referenced by extendFrameHistory(), and extendFrameHistoryNopad().
VALUE_ret adjustFrameLength | ( | FRAME_ptr | frame_ptr, |
UINT | maxFrameLength, | ||
UINT | addDwords, | ||
LOGIC_ret | pad | ||
) |
Definition at line 122 of file Cframe.C.
View newest version in sPHENIX GitHub at line 122 of file Cframe.C
References currentFrameQuantum, dwordClear, FORMAT_ERR_BUFFER_OVERFLOW, FORMAT_ERR_LENGTH_OVERFLOW, getFrameLength(), maxDwordValue, removeFramePadding(), setFrameError(), setFrameLength(), setFramePadding(), validFrameHdr(), and valueFailure.
Referenced by oEvent::addPacket(), oEvent::addUnstructPacketData(), extendFrameData(), extendFrameDataNopad(), extendFrameHistory(), and extendFrameHistoryNopad().
Definition at line 107 of file Cframe.C.
View newest version in sPHENIX GitHub at line 107 of file Cframe.C
References dwordByteSwap(), maxFrameHdrLength, validFrameHdr(), and valueFailure.
Referenced by main().
Definition at line 64 of file Cframe.C.
View newest version in sPHENIX GitHub at line 64 of file Cframe.C
References FORMAT_ERR_INVALID_FRAMEMARK, frameHdrLengthV, frameMarkV, getFrameHdrLength(), getFrameHdrVersion(), getFrameMark(), setFrameError(), setFrameSuccess(), and valueFailure.
Referenced by validFrameHdr().
Definition at line 352 of file Cframe.C.
View newest version in sPHENIX GitHub at line 352 of file Cframe.C
References findFrameAlignBlockV, getFrameHdrVersion(), ptrFailure, and valueFailure.
Referenced by A_Event::dumpFrame(), dumpFrameHdr(), and A_Event::getFrameValue().
Definition at line 49 of file Cframe.C.
View newest version in sPHENIX GitHub at line 49 of file Cframe.C
References findFrameDataStart(), getFrameDataLength(), G4PLUGDOOR::length, ptrFailure, and valueFailure.
Referenced by oEvent::addPacket(), oEvent::addUnstructPacketData(), and findNextFramePacket().
Definition at line 40 of file Cframe.C.
View newest version in sPHENIX GitHub at line 40 of file Cframe.C
References getFrameHdrLength(), ptrFailure, and validFrameHdr().
Referenced by appendEmptyFramePacket(), dumpFrame(), findFrameDataEnd(), findFramePacketId(), findFramePacketIndex(), findNextFramePacket(), and storeFrameData().
Definition at line 87 of file Cframe.C.
View newest version in sPHENIX GitHub at line 87 of file Cframe.C
References getFrameLength(), ptrFailure, setFrameSuccess(), validFrameHdr(), and valueFailure.
Referenced by fakeFrame(), and findNextErrorV1().
Definition at line 372 of file Cframe.C.
View newest version in sPHENIX GitHub at line 372 of file Cframe.C
References findFrameErrorStartV, getFrameHdrVersion(), ptrFailure, and valueFailure.
Referenced by A_Event::dumpErrorBlock(), findNextErrorV1(), and A_Event::listError().
Definition at line 362 of file Cframe.C.
View newest version in sPHENIX GitHub at line 362 of file Cframe.C
References findFrameHistoryStartV, getFrameHdrVersion(), ptrFailure, and valueFailure.
Referenced by getHistoryEntryV1(), A_Event::listHistory(), and storeFrameHistory().
Definition at line 565 of file Cframe.C.
View newest version in sPHENIX GitHub at line 565 of file Cframe.C
References findNextErrorV, getFrameHdrVersion(), ptrFailure, and valueFailure.
Definition at line 511 of file Cframe.C.
View newest version in sPHENIX GitHub at line 511 of file Cframe.C
References getAlignBlockV, getFrameHdrVersion(), and valueFailure.
Definition at line 342 of file Cframe.C.
View newest version in sPHENIX GitHub at line 342 of file Cframe.C
References getFrameAlignLengthV, getFrameHdrVersion(), and valueFailure.
Referenced by A_Event::dumpFrame(), dumpFrameHdr(), getAlignBlockV1(), A_Event::getFrameValue(), and setAlignBlockV1().
Definition at line 312 of file Cframe.C.
View newest version in sPHENIX GitHub at line 312 of file Cframe.C
References getFrameDataLengthV, getFrameHdrVersion(), and valueFailure.
Referenced by dumpFrame(), fakeFrame(), and findFrameDataEnd().
Definition at line 302 of file Cframe.C.
View newest version in sPHENIX GitHub at line 302 of file Cframe.C
References getFrameDataTypeV, getFrameHdrVersion(), and valueFailure.
Referenced by A_Event::dumpFrame(), dumpFrameHdr(), and A_Event::getFrameValue().
Definition at line 332 of file Cframe.C.
View newest version in sPHENIX GitHub at line 332 of file Cframe.C
References getFrameErrorLengthV, getFrameHdrVersion(), and valueFailure.
Referenced by A_Event::dumpErrorBlock(), A_Event::dumpFrame(), dumpFrameHdr(), and A_Event::listError().
Definition at line 322 of file Cframe.C.
View newest version in sPHENIX GitHub at line 322 of file Cframe.C
References getFrameHdrVersion(), getFrameHistoryLengthV, and valueFailure.
Referenced by A_Event::dumpFrame(), dumpFrameHdr(), getHistoryEntryV1(), A_Event::listHistory(), and storeFrameHistory().
Definition at line 392 of file Cframe.C.
View newest version in sPHENIX GitHub at line 392 of file Cframe.C
References getFrameHdrVersion(), getFramePaddingV, and valueFailure.
Referenced by A_Event::dumpFrame(), dumpFrameHdr(), findFrameErrorStartV1(), findFrameHistoryStartV1(), and removeFramePadding().
Definition at line 292 of file Cframe.C.
View newest version in sPHENIX GitHub at line 292 of file Cframe.C
References getFrameHdrVersion(), getFrameSourceIdV, and valueFailure.
Referenced by A_Event::dumpFrame(), dumpFrameHdr(), and A_Event::getFrameValue().
Definition at line 273 of file Cframe.C.
View newest version in sPHENIX GitHub at line 273 of file Cframe.C
References getFrameHdrVersion(), getFrameStatusV, and valueFailure.
Referenced by A_Event::dumpFrame(), dumpFrameHdr(), and A_Event::getFrameValue().
Definition at line 282 of file Cframe.C.
View newest version in sPHENIX GitHub at line 282 of file Cframe.C
References getFrameHdrVersion(), getFrameTypeV, and valueFailure.
Referenced by A_Event::dumpFrame(), dumpFrameHdr(), and A_Event::getFrameValue().
Definition at line 529 of file Cframe.C.
View newest version in sPHENIX GitHub at line 529 of file Cframe.C
References getFrameHdrVersion(), getHistoryEntryV, index, and valueFailure.
Definition at line 547 of file Cframe.C.
View newest version in sPHENIX GitHub at line 547 of file Cframe.C
References getFrameHdrVersion(), getHistorySourceIndexV, index, and valueFailure.
Definition at line 538 of file Cframe.C.
View newest version in sPHENIX GitHub at line 538 of file Cframe.C
References getFrameHdrVersion(), getHistoryStageV, index, and valueFailure.
Definition at line 556 of file Cframe.C.
View newest version in sPHENIX GitHub at line 556 of file Cframe.C
References getFrameHdrVersion(), getHistoryStatusV, index, and valueFailure.
VALUE_ret makeFrameHdr | ( | FRAME_ptr | frame_ptr, |
UINT | maxFrameLen, | ||
UINT | dataType, | ||
UINT | frameType, | ||
UINT | sourceId | ||
) |
Definition at line 404 of file Cframe.C.
View newest version in sPHENIX GitHub at line 404 of file Cframe.C
References currentFrameHdrVersion, and makeFrameHdrV.
Referenced by oEvent::addPacket(), oEvent::addUnstructPacketData(), and fakeFrame().
Definition at line 382 of file Cframe.C.
View newest version in sPHENIX GitHub at line 382 of file Cframe.C
References getFrameHdrVersion(), orFrameStatusV, and valueFailure.
Definition at line 186 of file Cframe.C.
View newest version in sPHENIX GitHub at line 186 of file Cframe.C
References getFrameLength(), getFramePadding(), G4PLUGDOOR::length, setFrameLength(), and setFramePadding().
Referenced by adjustFrameLength(), storeFrameData(), and storeFrameHistory().
Definition at line 520 of file Cframe.C.
View newest version in sPHENIX GitHub at line 520 of file Cframe.C
References FALSE, getFrameHdrVersion(), setAlignBlockV, and valueFailure.
Referenced by fakeFrame().
Definition at line 448 of file Cframe.C.
View newest version in sPHENIX GitHub at line 448 of file Cframe.C
References FALSE, getFrameHdrVersion(), setDataTypeV, and valueFailure.
Referenced by makeFrameHdrV1().
Definition at line 493 of file Cframe.C.
View newest version in sPHENIX GitHub at line 493 of file Cframe.C
References FALSE, getFrameHdrVersion(), setFrameAlignLengthV, and valueFailure.
Referenced by makeFrameHdrV1().
Definition at line 484 of file Cframe.C.
View newest version in sPHENIX GitHub at line 484 of file Cframe.C
References FALSE, getFrameHdrVersion(), setFrameErrorLengthV, and valueFailure.
Definition at line 475 of file Cframe.C.
View newest version in sPHENIX GitHub at line 475 of file Cframe.C
References FALSE, getFrameHdrVersion(), historyLength, setFrameHistoryLengthV, and valueFailure.
Definition at line 439 of file Cframe.C.
View newest version in sPHENIX GitHub at line 439 of file Cframe.C
References getFrameHdrVersion(), setFramePaddingV, and valueFailure.
Referenced by adjustFrameLength(), and removeFramePadding().
Definition at line 502 of file Cframe.C.
View newest version in sPHENIX GitHub at line 502 of file Cframe.C
References FALSE, getFrameHdrVersion(), setFrameStatusV, utils::status, and valueFailure.
Definition at line 457 of file Cframe.C.
View newest version in sPHENIX GitHub at line 457 of file Cframe.C
References FALSE, getFrameHdrVersion(), setFrameTypeV, and valueFailure.
Referenced by makeFrameHdrV1().
Definition at line 466 of file Cframe.C.
View newest version in sPHENIX GitHub at line 466 of file Cframe.C
References FALSE, getFrameHdrVersion(), setSourceIdV, and valueFailure.
Referenced by makeFrameHdrV1(), and TruthConversionEval::process_event().
MODIFYFUNCTIONPTR_arr CONSTANT adjustFrameDataLengthV = {0, &adjustFrameDataLengthV1} |
Definition at line 250 of file Cframe.C.
View newest version in sPHENIX GitHub at line 250 of file Cframe.C
Referenced by adjustFrameDataLength().
MODIFYFUNCTIONPTR_arr CONSTANT adjustFrameErrorLengthV = {0, &adjustFrameErrorLengthV1} |
Definition at line 252 of file Cframe.C.
View newest version in sPHENIX GitHub at line 252 of file Cframe.C
Referenced by adjustFrameErrorLength().
MODIFYFUNCTIONPTR_arr CONSTANT adjustFrameHistoryLengthV = {0, &adjustFrameHistoryLengthV1} |
Definition at line 251 of file Cframe.C.
View newest version in sPHENIX GitHub at line 251 of file Cframe.C
Referenced by adjustFrameHistoryLength().
PTRACCESSFUNCTIONPTR_arr CONSTANT findFrameAlignBlockV = {0, &findFrameAlignBlockV1} |
Definition at line 245 of file Cframe.C.
View newest version in sPHENIX GitHub at line 245 of file Cframe.C
Referenced by findFrameAlignBlock().
PTRACCESSFUNCTIONPTR_arr CONSTANT findFrameErrorStartV = {0, &findFrameErrorStartV1} |
Definition at line 244 of file Cframe.C.
View newest version in sPHENIX GitHub at line 244 of file Cframe.C
Referenced by findFrameErrorStart().
PTRACCESSFUNCTIONPTR_arr CONSTANT findFrameHistoryStartV = {0, &findFrameHistoryStartV1} |
Definition at line 246 of file Cframe.C.
View newest version in sPHENIX GitHub at line 246 of file Cframe.C
Referenced by findFrameHistoryStart().
FINDNEXTFUNCTIONPTR_arr CONSTANT findNextErrorV = {0, &findNextErrorV1} |
Definition at line 271 of file Cframe.C.
View newest version in sPHENIX GitHub at line 271 of file Cframe.C
Referenced by findNextError().
VARRAYCOPYFUNCTIONPTR_arr CONSTANT getAlignBlockV = {0, &getAlignBlockV1} |
Definition at line 262 of file Cframe.C.
View newest version in sPHENIX GitHub at line 262 of file Cframe.C
Referenced by getAlignBlock().
ACCESSFUNCTIONPTR_arr CONSTANT getFrameAlignLengthV = {0, &getFrameAlignLengthV1} |
Definition at line 242 of file Cframe.C.
View newest version in sPHENIX GitHub at line 242 of file Cframe.C
Referenced by getFrameAlignLength().
ACCESSFUNCTIONPTR_arr CONSTANT getFrameDataLengthV = {0, &getFrameDataLengthV1} |
Definition at line 241 of file Cframe.C.
View newest version in sPHENIX GitHub at line 241 of file Cframe.C
Referenced by getFrameDataLength().
ACCESSFUNCTIONPTR_arr CONSTANT getFrameDataTypeV = {0, &getFrameDataTypeV1} |
Definition at line 237 of file Cframe.C.
View newest version in sPHENIX GitHub at line 237 of file Cframe.C
Referenced by getFrameDataType().
ACCESSFUNCTIONPTR_arr CONSTANT getFrameErrorLengthV = {0, &getFrameErrorLengthV1} |
Definition at line 240 of file Cframe.C.
View newest version in sPHENIX GitHub at line 240 of file Cframe.C
Referenced by getFrameErrorLength().
ACCESSFUNCTIONPTR_arr CONSTANT getFrameHistoryLengthV = {0, &getFrameHistoryLengthV1} |
Definition at line 239 of file Cframe.C.
View newest version in sPHENIX GitHub at line 239 of file Cframe.C
Referenced by getFrameHistoryLength().
ACCESSFUNCTIONPTR_arr CONSTANT getFramePaddingV = {0, &getFramePaddingV1} |
Definition at line 238 of file Cframe.C.
View newest version in sPHENIX GitHub at line 238 of file Cframe.C
Referenced by getFramePadding().
ACCESSFUNCTIONPTR_arr CONSTANT getFrameSourceIdV = {0, &getFrameSourceIdV1} |
Definition at line 234 of file Cframe.C.
View newest version in sPHENIX GitHub at line 234 of file Cframe.C
Referenced by getFrameSourceId().
ACCESSFUNCTIONPTR_arr CONSTANT getFrameStatusV = {0, &getFrameStatusV1} |
Definition at line 236 of file Cframe.C.
View newest version in sPHENIX GitHub at line 236 of file Cframe.C
Referenced by getFrameStatus().
ACCESSFUNCTIONPTR_arr CONSTANT getFrameTypeV = {0, &getFrameTypeV1} |
Definition at line 235 of file Cframe.C.
View newest version in sPHENIX GitHub at line 235 of file Cframe.C
Referenced by getFrameType().
PARAMACCESSFUNCTIONPTR_arr CONSTANT getHistoryEntryV = {0, &getHistoryEntryV1} |
Definition at line 267 of file Cframe.C.
View newest version in sPHENIX GitHub at line 267 of file Cframe.C
Referenced by getHistoryEntry().
PARAMACCESSFUNCTIONPTR_arr CONSTANT getHistorySourceIndexV = {0, &getHistorySourceIndexV1} |
Definition at line 269 of file Cframe.C.
View newest version in sPHENIX GitHub at line 269 of file Cframe.C
Referenced by getHistorySourceIndex().
PARAMACCESSFUNCTIONPTR_arr CONSTANT getHistoryStageV = {0, &getHistoryStageV1} |
Definition at line 268 of file Cframe.C.
View newest version in sPHENIX GitHub at line 268 of file Cframe.C
Referenced by getHistoryStage().
PARAMACCESSFUNCTIONPTR_arr CONSTANT getHistoryStatusV = {0, &getHistoryStatusV1} |
Definition at line 270 of file Cframe.C.
View newest version in sPHENIX GitHub at line 270 of file Cframe.C
Referenced by getHistoryStatus().
MAKEHDRFUNCTIONPTR_arr CONSTANT makeFrameHdrV = {0, &makeFrameHdrV1} |
Definition at line 265 of file Cframe.C.
View newest version in sPHENIX GitHub at line 265 of file Cframe.C
Referenced by makeFrameHdr().
MODIFYFUNCTIONPTR_arr CONSTANT orFrameStatusV = {0, &orFrameStatusV1} |
Definition at line 248 of file Cframe.C.
View newest version in sPHENIX GitHub at line 248 of file Cframe.C
Referenced by orFrameStatus().
LARRAYCOPYFUNCTIONPTR_arr CONSTANT setAlignBlockV = {0, &setAlignBlockV1} |
Definition at line 263 of file Cframe.C.
View newest version in sPHENIX GitHub at line 263 of file Cframe.C
Referenced by setAlignBlock().
LOGICALMODIFYFUNCTIONPTR_arr CONSTANT setDataTypeV = {0, &setDataTypeV1} |
Definition at line 254 of file Cframe.C.
View newest version in sPHENIX GitHub at line 254 of file Cframe.C
Referenced by setDataType().
LOGICALMODIFYFUNCTIONPTR_arr CONSTANT setFrameAlignLengthV = {0, &setFrameAlignLengthV1} |
Definition at line 259 of file Cframe.C.
View newest version in sPHENIX GitHub at line 259 of file Cframe.C
Referenced by setFrameAlignLength().
LOGICALMODIFYFUNCTIONPTR_arr CONSTANT setFrameErrorLengthV = {0, &setFrameErrorLengthV1} |
Definition at line 258 of file Cframe.C.
View newest version in sPHENIX GitHub at line 258 of file Cframe.C
Referenced by setFrameErrorLength().
LOGICALMODIFYFUNCTIONPTR_arr CONSTANT setFrameHistoryLengthV = {0, &setFrameHistoryLengthV1} |
Definition at line 257 of file Cframe.C.
View newest version in sPHENIX GitHub at line 257 of file Cframe.C
Referenced by setFrameHistoryLength().
MODIFYFUNCTIONPTR_arr CONSTANT setFramePaddingV = {0, &setFramePaddingV1} |
Definition at line 249 of file Cframe.C.
View newest version in sPHENIX GitHub at line 249 of file Cframe.C
Referenced by setFramePadding().
LOGICALMODIFYFUNCTIONPTR_arr CONSTANT setFrameStatusV = {0, &setFrameStatusV1} |
Definition at line 260 of file Cframe.C.
View newest version in sPHENIX GitHub at line 260 of file Cframe.C
Referenced by setFrameStatus().
LOGICALMODIFYFUNCTIONPTR_arr CONSTANT setFrameTypeV = {0, &setFrameTypeV1} |
Definition at line 255 of file Cframe.C.
View newest version in sPHENIX GitHub at line 255 of file Cframe.C
Referenced by setFrameType().
LOGICALMODIFYFUNCTIONPTR_arr CONSTANT setSourceIdV = {0, &setSourceIdV1} |
Definition at line 256 of file Cframe.C.
View newest version in sPHENIX GitHub at line 256 of file Cframe.C
Referenced by setSourceId().