|
virtual int | getBitslip (int ilink) |
|
virtual uint32_t | getStatusRaw (int ilink) |
| Get the status of the input link.
|
|
virtual void | setBitslip (int ilink, int bitslip) |
| set the bitslip value for the link
|
|
virtual std::vector< uint32_t > | spy (int ilink) |
| spy into the passed link
|
|
virtual void | clearErrorCounters (int ilink) |
| Clear the error counters for the input link.
|
|
virtual void | resetHard () |
| Hard reset the links.
|
|
virtual void | setAlignPhase (int ilink, int phase) |
| Set the l1a delay for the input link.
|
|
virtual int | getAlignPhase (int ilink) |
| Get the alignment phase.
|
|
virtual void | reset () |
|
virtual int | getEventOccupancy () |
|
virtual void | setupLink (int ilink, int l1a_delay, int l1a_capture_width) |
| Set the FPGA id and the link ids based on the FPGA id.
|
|
virtual void | getLinkSetup (int ilink, int &l1a_delay, int &l1a_capture_width) |
| read link parameters into the passed variables
|
|
virtual void | bufferStatus (int ilink, bool &empty, bool &full) |
| get empty/full status for the given link and stage
|
|
virtual std::vector< uint32_t > | getLinkData (int ilink) |
| read out link data
|
|
virtual void | advanceLinkReadPtr () |
| Advance link read pointer.
|
|
int | nlinks () const |
| Get the number of links stored in this class.
|
|
void | markActive (int ilink, bool active) |
| Mark a specific link as active (or inactive) depending on input.
|
|
bool | isActive (int ilink) const |
| Check if a link is active.
|
|
virtual int | scanBitslip (int ilink) |
| enable auto-setting of bitslip value
|
|
virtual void | readCounters (int link, uint32_t &nonidles, uint32_t &resyncs) |
| Decode the counters for non-idles and resyncs from the status bytes for the input link.
|
|
virtual int | scanAlign (int ilink, bool debug=false) |
| Prepare for a big spy of the link.
|
|
virtual void | enable (bool enable=true) |
| enable/disable the readout
|
|
virtual bool | enabled () |
| is the readout enabled?
|
|
int | nlinks () const |
| number of elinks
|
|