EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <stdio.h>
#include "phenixOnline.h"
#include "framePublic.h"
#include "formatError.h"
#include "frameHdr.h"
Go to the source code of this file.
Macros | |
#define | _FRAMES_ |
#define _FRAMES_ |
Definition at line 411 of file Cframe.C.
View newest version in sPHENIX GitHub at line 411 of file Cframe.C
References adjustFrameDataLengthV, getFrameHdrVersion(), valueFailure, and conf::version.
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(), valueFailure, and conf::version.
Definition at line 421 of file Cframe.C.
View newest version in sPHENIX GitHub at line 421 of file Cframe.C
References adjustFrameHistoryLengthV, getFrameHdrVersion(), valueFailure, and conf::version.
Referenced by extendFrameHistory(), and extendFrameHistoryNopad().
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 382 of file Cframe.h.
View newest version in sPHENIX GitHub at line 382 of file Cframe.h
References dwordByteSwap(), and singleDwordByteSwap().
Referenced by main().
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(), valueFailure, and conf::version.
Referenced by validFrameHdr().
Definition at line 353 of file Cframe.h.
View newest version in sPHENIX GitHub at line 353 of file Cframe.h
References currentFrameHdrVersion, getFrameHdrVersion(), and conf::version.
Referenced by storeFrameData(), and storeFrameHistory().
Definition at line 372 of file Cframe.h.
View newest version in sPHENIX GitHub at line 372 of file Cframe.h
References getFrameHdrLength(), and getFrameLength().
Referenced by storeFrameData().
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, valueFailure, and conf::version.
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(), G4BARRELHCAL::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, valueFailure, and conf::version.
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, valueFailure, and conf::version.
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, valueFailure, and conf::version.
Definition at line 511 of file Cframe.C.
View newest version in sPHENIX GitHub at line 511 of file Cframe.C
References getAlignBlockV, getFrameHdrVersion(), valueFailure, and conf::version.
Definition at line 342 of file Cframe.C.
View newest version in sPHENIX GitHub at line 342 of file Cframe.C
References getFrameAlignLengthV, getFrameHdrVersion(), valueFailure, and conf::version.
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(), valueFailure, and conf::version.
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(), valueFailure, and conf::version.
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(), valueFailure, and conf::version.
Referenced by A_Event::dumpErrorBlock(), A_Event::dumpFrame(), dumpFrameHdr(), and A_Event::listError().
Definition at line 246 of file Cframe.h.
View newest version in sPHENIX GitHub at line 246 of file Cframe.h
References FORMAT_ERR_INVALID_HDRLENGTH, FRAME_HDR_LENGTH_MASK, FRAME_HDR_LENGTH_OFFSET_IN_DWORD, FRAME_HDR_LENGTH_OFFSET_OF_DWORD, getBitsMACRO, getFrameLength(), G4BARRELHCAL::length, setFrameError(), and valueFailure.
Referenced by checkFrameHdrVersion(), A_Event::dumpFrame(), dumpFrameHdr(), emptyFrame(), emptyFrameV1(), findFrameDataStart(), getFrameDataLengthV1(), A_Event::getFrameValue(), and validFrameHdrV1().
Definition at line 264 of file Cframe.h.
View newest version in sPHENIX GitHub at line 264 of file Cframe.h
References FORMAT_ERR_INVALID_HDRVERSION, FRAME_HDR_VERSION_MASK, FRAME_HDR_VERSION_OFFSET_IN_DWORD, FRAME_HDR_VERSION_OFFSET_OF_DWORD, getBitsMACRO, numFrameVersions, setFrameError(), valueFailure, and conf::version.
Referenced by adjustFrameDataLength(), adjustFrameErrorLength(), adjustFrameHistoryLength(), checkFrameHdrVersion(), currentFrameHdr(), A_Event::dumpFrame(), dumpFrameHdr(), findFrameAlignBlock(), findFrameErrorStart(), findFrameHistoryStart(), findNextError(), getAlignBlock(), getFrameAlignLength(), getFrameDataLength(), getFrameDataType(), getFrameErrorLength(), getFrameHistoryLength(), getFramePadding(), getFrameSourceId(), getFrameStatus(), getFrameType(), A_Event::getFrameValue(), getHistoryEntry(), getHistorySourceIndex(), getHistoryStage(), getHistoryStatus(), orFrameStatus(), setAlignBlock(), setDataType(), setFrameAlignLength(), setFrameErrorLength(), setFrameHistoryLength(), setFramePadding(), setFrameStatus(), setFrameType(), setSourceId(), and validFrameMark().
Definition at line 322 of file Cframe.C.
View newest version in sPHENIX GitHub at line 322 of file Cframe.C
References getFrameHdrVersion(), getFrameHistoryLengthV, valueFailure, and conf::version.
Referenced by A_Event::dumpFrame(), dumpFrameHdr(), getHistoryEntryV1(), A_Event::listHistory(), and storeFrameHistory().
Definition at line 283 of file Cframe.h.
View newest version in sPHENIX GitHub at line 283 of file Cframe.h
References FORMAT_ERR_LENGTH_OVERFLOW, FRAME_LENGTH_OFFSET_OF_DWORD, getWordMACRO, G4BARRELHCAL::length, setFrameError(), and valueFailure.
Referenced by oEvent::addFrame(), adjustFrameLength(), prdfBuffer::buffer_swap(), A_Event::dumpFrame(), dumpFrameHdr(), emptyFrame(), emptyFrameV1(), fakeFrame(), findFrameEnd(), findFrameErrorStartV1(), findFrameHistoryStartV1(), getFrameDataLengthV1(), getFrameHdrLength(), A_Event::getFrameValue(), removeFramePadding(), and A_Event::updateFramelist().
Definition at line 298 of file Cframe.h.
View newest version in sPHENIX GitHub at line 298 of file Cframe.h
References FRAME_MARK_OFFSET_OF_DWORD, and getWordMACRO.
Referenced by checkFrameHdrVersion(), A_Event::dumpFrame(), dumpFrameHdr(), A_Event::getFrameValue(), and validFrameMark().
Definition at line 392 of file Cframe.C.
View newest version in sPHENIX GitHub at line 392 of file Cframe.C
References getFrameHdrVersion(), getFramePaddingV, valueFailure, and conf::version.
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, valueFailure, and conf::version.
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, valueFailure, and conf::version.
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, valueFailure, and conf::version.
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, valueFailure, and conf::version.
Definition at line 547 of file Cframe.C.
View newest version in sPHENIX GitHub at line 547 of file Cframe.C
References getFrameHdrVersion(), getHistorySourceIndexV, valueFailure, and conf::version.
Definition at line 538 of file Cframe.C.
View newest version in sPHENIX GitHub at line 538 of file Cframe.C
References getFrameHdrVersion(), getHistoryStageV, valueFailure, and conf::version.
Definition at line 556 of file Cframe.C.
View newest version in sPHENIX GitHub at line 556 of file Cframe.C
References getFrameHdrVersion(), getHistoryStatusV, valueFailure, and conf::version.
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, valueFailure, and conf::version.
Definition at line 186 of file Cframe.C.
View newest version in sPHENIX GitHub at line 186 of file Cframe.C
References getFrameLength(), getFramePadding(), G4BARRELHCAL::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, valueFailure, and conf::version.
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, valueFailure, and conf::version.
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, valueFailure, and conf::version.
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, valueFailure, and conf::version.
Definition at line 306 of file Cframe.h.
View newest version in sPHENIX GitHub at line 306 of file Cframe.h
References FRAME_HDR_LENGTH_MASK, FRAME_HDR_LENGTH_OFFSET_IN_DWORD, FRAME_HDR_LENGTH_OFFSET_OF_DWORD, setBitsMACRO, and TRUE.
Referenced by makeFrameHdrV1().
Definition at line 316 of file Cframe.h.
View newest version in sPHENIX GitHub at line 316 of file Cframe.h
References FRAME_HDR_VERSION_MASK, FRAME_HDR_VERSION_OFFSET_IN_DWORD, FRAME_HDR_VERSION_OFFSET_OF_DWORD, setBitsMACRO, and TRUE.
Referenced by makeFrameHdrV1().
Definition at line 475 of file Cframe.C.
View newest version in sPHENIX GitHub at line 475 of file Cframe.C
References FALSE, getFrameHdrVersion(), setFrameHistoryLengthV, valueFailure, and conf::version.
Definition at line 326 of file Cframe.h.
View newest version in sPHENIX GitHub at line 326 of file Cframe.h
References FRAME_LENGTH_OFFSET_OF_DWORD, setWordMACRO, and TRUE.
Referenced by adjustFrameLength(), makeFrameHdrV1(), and removeFramePadding().
Definition at line 335 of file Cframe.h.
View newest version in sPHENIX GitHub at line 335 of file Cframe.h
References FRAME_MARK_OFFSET_OF_DWORD, setWordMACRO, and TRUE.
Referenced by makeFrameHdrV1().
Definition at line 439 of file Cframe.C.
View newest version in sPHENIX GitHub at line 439 of file Cframe.C
References getFrameHdrVersion(), setFramePaddingV, valueFailure, and conf::version.
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, valueFailure, and conf::version.
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, valueFailure, and conf::version.
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, valueFailure, and conf::version.
Referenced by makeFrameHdrV1().
Definition at line 346 of file Cframe.h.
View newest version in sPHENIX GitHub at line 346 of file Cframe.h
References checkFrameHdrVersion(), and valueFailure.
Referenced by adjustFrameLength(), appendEmptyFramePacket(), checkFrameEndianism(), dumpFrameHdr(), findFrameDataStart(), findFrameEnd(), findFramePacketId(), findFramePacketIndex(), isLastFramePacket(), storeFrameHistory(), and A_Event::updateFramelist().
Definition at line 361 of file Cframe.h.
View newest version in sPHENIX GitHub at line 361 of file Cframe.h
References FALSE, frameMarkV, getFrameHdrVersion(), getFrameMark(), valueFailure, and conf::version.