|
pflib v3.9.5-8-gf71a60f
Pretty Fine HGCROC Interaction Library
|
Helper class emulating the ECON-D's behavior for constructing an event packet. More...
#include <ECONDFormatter.h>
Public Member Functions | |
| ECONDFormatter (bool disable_zs) | |
| void | disableZS (bool disable=true) |
| void | startEvent (int bx, int l1a, int orbit) |
| void | finishEvent () |
| const std::vector< uint32_t > & | getPacket () const |
| void | add_elink_packet (int ielink, const std::vector< uint32_t > &src) |
Private Member Functions | |
| std::vector< uint32_t > | format_elink (int ielink, const std::vector< uint32_t > &src) |
| int | zs_process (int ielink, int ic, uint32_t word) |
Private Attributes | |
| std::vector< uint32_t > | packet_ {} |
| packet currently under construction | |
| bool | disable_zs_ {true} |
| whether zero-suppresion should be disabled or not | |
Helper class emulating the ECON-D's behavior for constructing an event packet.
|
private |
at this point, we have tctp=0, so we can apply zs algorithms