#include <TotemSampicFrame.h>
Public Member Functions | |
template<class T > | |
T | extractDataFromBytesLSB (const uint8_t *array, int start, int size) const |
uint16_t | getBunchNumber () const |
uint16_t | getCellInfo () const |
uint16_t | getChannelMap () const |
int | getDetChannel () const |
int | getDetPlane () const |
uint8_t | getEventHardwareId () const |
uint32_t | getEventNumber () const |
uint64_t | getFPGATimestamp () const |
uint8_t | getFWVersion () const |
uint8_t | getHardwareId () const |
uint16_t | getL1ALatency () const |
uint64_t | getL1ATimestamp () const |
unsigned int | getNumberOfSamples () const |
uint8_t | getNumberOfSentSamples () const |
uint8_t | getOffsetOfSamples () const |
uint32_t | getOrbitNumber () const |
uint8_t | getPLLInfo () const |
const std::vector< uint8_t > | getSamples () const |
uint16_t | getTimestampA () const |
uint16_t | getTimestampB () const |
void | print () const |
void | printRaw (bool binary=false) const |
TotemSampicFrame (const uint8_t *chInfoPtr, const uint8_t *chDataPtr, const uint8_t *eventInfoPtr) | |
bool | valid () const |
~TotemSampicFrame () | |
Protected Member Functions | |
void | printRawBuffer (const uint16_t *buffer, const bool binary=false, const unsigned int size=12) const |
Protected Attributes | |
int | status_ |
const uint8_t * | totemSampicDataPtr_ |
const uint8_t * | totemSampicEventInfoPtr_ |
const uint8_t * | totemSampicInfoPtr_ |
This class is intended to handle the timing infromation of SAMPIC in the TOTEM implementation
Definition at line 80 of file TotemSampicFrame.h.
|
inline |
Definition at line 82 of file TotemSampicFrame.h.
References controlBits3, controlBits3_Position, status_, and totemSampicInfoPtr_.
|
inline |
Definition at line 91 of file TotemSampicFrame.h.
|
inline |
Definition at line 136 of file TotemSampicFrame.h.
References mps_fire::i, mps_fire::result, and command_line::start.
|
inline |
Definition at line 218 of file TotemSampicFrame.h.
References bunchNumber_Position, bunchNumber_Size, status_, createJobs::tmp, and totemSampicEventInfoPtr_.
Referenced by print().
|
inline |
Definition at line 168 of file TotemSampicFrame.h.
References cellInfo_Mask, cellInfo_Position, cellInfo_Size, status_, createJobs::tmp, and totemSampicInfoPtr_.
Referenced by print().
|
inline |
Definition at line 242 of file TotemSampicFrame.h.
References channelMap_Position, channelMap_Size, status_, createJobs::tmp, and totemSampicEventInfoPtr_.
Referenced by print().
|
inline |
Definition at line 183 of file TotemSampicFrame.h.
References planeChannelId_Position, status_, createJobs::tmp, and totemSampicInfoPtr_.
Referenced by print().
|
inline |
Definition at line 176 of file TotemSampicFrame.h.
References planeChannelId_Position, status_, createJobs::tmp, and totemSampicInfoPtr_.
Referenced by print().
|
inline |
Definition at line 203 of file TotemSampicFrame.h.
References boardId_Position, status_, createJobs::tmp, and totemSampicEventInfoPtr_.
Referenced by print().
|
inline |
Definition at line 234 of file TotemSampicFrame.h.
References eventNumber_Position, eventNumber_Size, status_, createJobs::tmp, and totemSampicEventInfoPtr_.
Referenced by print().
|
inline |
Definition at line 143 of file TotemSampicFrame.h.
References fpgaTime_Position, fpgaTime_Size, status_, createJobs::tmp, and totemSampicInfoPtr_.
Referenced by print().
|
inline |
Definition at line 279 of file TotemSampicFrame.h.
References fwVersion_Position, status_, createJobs::tmp, and totemSampicEventInfoPtr_.
Referenced by print().
|
inline |
Definition at line 128 of file TotemSampicFrame.h.
References hwId_Position, status_, createJobs::tmp, and totemSampicInfoPtr_.
Referenced by print().
|
inline |
Definition at line 250 of file TotemSampicFrame.h.
References l1ALatency_Position, l1ALatency_Size, status_, createJobs::tmp, and totemSampicEventInfoPtr_.
Referenced by print().
|
inline |
Definition at line 210 of file TotemSampicFrame.h.
References l1ATimestamp_Position, l1ATimestamp_Size, status_, createJobs::tmp, and totemSampicEventInfoPtr_.
Referenced by print().
|
inline |
Definition at line 200 of file TotemSampicFrame.h.
References numberOfSamples, and status_.
|
inline |
Definition at line 258 of file TotemSampicFrame.h.
References numberOfSamples_Position, status_, createJobs::tmp, and totemSampicEventInfoPtr_.
Referenced by print().
|
inline |
Definition at line 265 of file TotemSampicFrame.h.
References offsetOfSamples_Position, status_, createJobs::tmp, and totemSampicEventInfoPtr_.
Referenced by print().
|
inline |
Definition at line 226 of file TotemSampicFrame.h.
References orbitNumber_Position, orbitNumber_Size, status_, createJobs::tmp, and totemSampicEventInfoPtr_.
Referenced by print().
|
inline |
Definition at line 272 of file TotemSampicFrame.h.
References pllInfo_Position, status_, createJobs::tmp, and totemSampicEventInfoPtr_.
Referenced by print().
|
inline |
Definition at line 190 of file TotemSampicFrame.h.
References numberOfSamples, status_, and totemSampicDataPtr_.
|
inline |
Definition at line 151 of file TotemSampicFrame.h.
References status_, timestampA_Position, timestampA_Size, createJobs::tmp, and totemSampicInfoPtr_.
Referenced by print().
|
inline |
Definition at line 160 of file TotemSampicFrame.h.
References status_, timestampB_Position, timestampB_Size, createJobs::tmp, and totemSampicInfoPtr_.
Referenced by print().
|
inline |
Definition at line 106 of file TotemSampicFrame.h.
References TauDecayModes::dec, getBunchNumber(), getCellInfo(), getChannelMap(), getDetChannel(), getDetPlane(), getEventHardwareId(), getEventNumber(), getFPGATimestamp(), getFWVersion(), getHardwareId(), getL1ALatency(), getL1ATimestamp(), getNumberOfSentSamples(), getOffsetOfSamples(), getOrbitNumber(), getPLLInfo(), getTimestampA(), and getTimestampB().
|
inline |
Prints the frame. If binary is true, binary format is used.
Definition at line 95 of file TotemSampicFrame.h.
References printRawBuffer(), totemSampicDataPtr_, totemSampicEventInfoPtr_, and totemSampicInfoPtr_.
|
inlineprotected |
Definition at line 295 of file TotemSampicFrame.h.
References mps_fire::i, and findQualityFiles::size.
Referenced by printRaw().
|
inline |
|
protected |
Definition at line 293 of file TotemSampicFrame.h.
Referenced by getBunchNumber(), getCellInfo(), getChannelMap(), getDetChannel(), getDetPlane(), getEventHardwareId(), getEventNumber(), getFPGATimestamp(), getFWVersion(), getHardwareId(), getL1ALatency(), getL1ATimestamp(), getNumberOfSamples(), getNumberOfSentSamples(), getOffsetOfSamples(), getOrbitNumber(), getPLLInfo(), getSamples(), getTimestampA(), getTimestampB(), TotemSampicFrame(), and valid().
|
protected |
Definition at line 290 of file TotemSampicFrame.h.
Referenced by getSamples(), and printRaw().
|
protected |
Definition at line 291 of file TotemSampicFrame.h.
Referenced by getBunchNumber(), getChannelMap(), getEventHardwareId(), getEventNumber(), getFWVersion(), getL1ALatency(), getL1ATimestamp(), getNumberOfSentSamples(), getOffsetOfSamples(), getOrbitNumber(), getPLLInfo(), and printRaw().
|
protected |
Definition at line 289 of file TotemSampicFrame.h.
Referenced by getCellInfo(), getDetChannel(), getDetPlane(), getFPGATimestamp(), getHardwareId(), getTimestampA(), getTimestampB(), printRaw(), and TotemSampicFrame().