lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
Pds::Trg::TripperTebData Struct Reference

Packed TEB input record for the MFX tripper trigger: either hot-pixel information (Jungfrau and dummy contributions) or the timing sequence words, with detType acting as the tag. More...

#include <TripperTebData.hh>

Classes

union  SmallData
 Union of the hot-pixel fields and the 18 timing sequence words. More...
 

Public Member Functions

 TripperTebData (uint16_t _hotPixelThresh, uint32_t _numHotPixels, uint32_t _maxHotPixels, const char *_detType)
 Fill the hot-pixel fields and copy _detType (truncated to 29 characters and NUL-terminated).
 
 TripperTebData (uint16_t *_seqInfo, const char *_detType)
 Zero the union, copy 18 sequence words from _seqInfo and copy _detType (truncated to 29 characters and NUL-terminated).
 

Public Attributes

union Pds::Trg::TripperTebData::SmallData smalldata
 The detector-specific data, selected by detType.
 
char detType [30]
 NUL-terminated detector type; the code comment says the TEB uses it as the union tag to choose between tripping and event code selection.
 

Detailed Description

Packed TEB input record for the MFX tripper trigger: either hot-pixel information (Jungfrau and dummy contributions) or the timing sequence words, with detType acting as the tag.

Constructor & Destructor Documentation

◆ TripperTebData() [1/2]

Pds::Trg::TripperTebData::TripperTebData ( uint16_t  _hotPixelThresh,
uint32_t  _numHotPixels,
uint32_t  _maxHotPixels,
const char *  _detType 
)
inline

Fill the hot-pixel fields and copy _detType (truncated to 29 characters and NUL-terminated).

◆ TripperTebData() [2/2]

Pds::Trg::TripperTebData::TripperTebData ( uint16_t *  _seqInfo,
const char *  _detType 
)
inline

Zero the union, copy 18 sequence words from _seqInfo and copy _detType (truncated to 29 characters and NUL-terminated).

Member Data Documentation

◆ detType

char Pds::Trg::TripperTebData::detType[30]

NUL-terminated detector type; the code comment says the TEB uses it as the union tag to choose between tripping and event code selection.

◆ smalldata

union Pds::Trg::TripperTebData::SmallData Pds::Trg::TripperTebData::smalldata

The detector-specific data, selected by detType.


The documentation for this struct was generated from the following file: