|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Wait for the occurrence-th powerline-synchronized marker marker_id in the timeslots of timeslot_mask (per the code comment). More...
#include <user_sequence.hh>
Inherits TPGen::Instruction.
Public Member Functions | |
| ACRateSync (unsigned timeslot_mask, unsigned marker_id, unsigned occurrence) | |
| Store timeslot_mask, marker_id and occurrence. | |
| ~ACRateSync () | |
| Does nothing; empty body. | |
| Instruction::Type | instr () const |
| Return Instruction::AC. | |
Public Member Functions inherited from TPGen::Instruction | |
| virtual | ~Instruction () |
| Does nothing; empty virtual destructor. | |
Public Attributes | |
| unsigned | timeslot_mask |
| Timeslot mask; XpmSequenceEngine encodes 6 bits of it. | |
| unsigned | marker_id |
| AC-rate marker number; XpmSequenceEngine encodes 4 bits of it. | |
| unsigned | occurrence |
| Number of markers to wait for; XpmSequenceEngine encodes 12 bits of it. | |
Additional Inherited Members | |
Public Types inherited from TPGen::Instruction | |
| enum | Type { Fixed , AC , Branch , Check , Request } |
| Instruction type returned by instr(). More... | |
Wait for the occurrence-th powerline-synchronized marker marker_id in the timeslots of timeslot_mask (per the code comment).
| TPGen::ACRateSync::ACRateSync | ( | unsigned | timeslot_mask, |
| unsigned | marker_id, | ||
| unsigned | occurrence | ||
| ) |
Store timeslot_mask, marker_id and occurrence.
| TPGen::ACRateSync::~ACRateSync | ( | ) |
Does nothing; empty body.
|
virtual |
Return Instruction::AC.
Implements TPGen::Instruction.
| unsigned TPGen::ACRateSync::marker_id |
AC-rate marker number; XpmSequenceEngine encodes 4 bits of it.
| unsigned TPGen::ACRateSync::occurrence |
Number of markers to wait for; XpmSequenceEngine encodes 12 bits of it.
| unsigned TPGen::ACRateSync::timeslot_mask |
Timeslot mask; XpmSequenceEngine encodes 6 bits of it.