|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
ResultDgram, the trigger result datagram (an EbDgram plus a packed result word and a monitor buffer number word), and the ResultType codes. More...
Classes | |
| class | Pds::Eb::ResultDgram |
| Trigger result datagram: an EbDgram followed by a 32-bit result word and a 32-bit monitor buffer number word. More... | |
Namespaces | |
| namespace | Pds |
| Outer namespace of the HSD digitizer helpers. | |
| namespace | Pds::Eb |
| Namespace of the psdaq event-builder (eb) code. | |
Macros | |
| #define | ADDBITS(FLD, VAL) auxdata((auxdata()&~s_##FLD) | ((VAL&m_##FLD)<<v_##FLD)) |
| Store VAL in field FLD of the auxdata() value, using the enclosing class constants v_FLD, m_FLD and s_FLD. | |
| #define | GETBITS(FLD) (auxdata()&s_##FLD)>>v_##FLD |
| Extract field FLD from the auxdata() value, using the enclosing class constants s_FLD and v_FLD (the expansion has no outer parentheses). | |
Enumerations | |
| enum | Pds::Eb::ResultType { Pds::Eb::Base =0 , Pds::Eb::Cube =1 , Pds::Eb::Window =2 } |
| Result type codes, described in the original comment as ConfigDgram specializations; CubeConfigDgram::resultType(char*) maps the strings Cube and Window to these codes. More... | |
ResultDgram, the trigger result datagram (an EbDgram plus a packed result word and a monitor buffer number word), and the ResultType codes.
| #define ADDBITS | ( | FLD, | |
| VAL | |||
| ) | auxdata((auxdata()&~s_##FLD) | ((VAL&m_##FLD)<<v_##FLD)) |
Store VAL in field FLD of the auxdata() value, using the enclosing class constants v_FLD, m_FLD and s_FLD.
Used by CubeResultDgram and WindowResultDgram; WindowResultDgram.hh undefines it.
| #define GETBITS | ( | FLD | ) | (auxdata()&s_##FLD)>>v_##FLD |
Extract field FLD from the auxdata() value, using the enclosing class constants s_FLD and v_FLD (the expansion has no outer parentheses).