|
pflib v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
|
Interface with DAQ via a WishboneInterface. More...
#include <DAQ.h>
Public Member Functions | |
| virtual void | reset ()=0 |
| virtual int | getEventOccupancy ()=0 |
| virtual void | setupLink (int ilink, int l1a_delay, int l1a_capture_width)=0 |
| Setup a link. | |
| virtual void | getLinkSetup (int ilink, int &l1a_delay, int &l1a_capture_width)=0 |
| read link parameters into the passed variables | |
| virtual void | bufferStatus (int ilink, bool &empty, bool &full)=0 |
| get empty/full status for the given link and stage | |
| virtual void | setup (int econid, int samples_per_ror, int soi=-1) |
| setup overall event information for daq channels | |
| int | econid () const |
| get the econid | |
| int | samples_per_ror () const |
| get the samples | |
| int | soi () const |
| get the soi | |
| virtual void | enable (bool enable=true) |
| enable/disable the readout | |
| virtual bool | enabled () |
| is the readout enabled? | |
| int | nlinks () const |
| number of elinks | |
| virtual bool | AXIS_enabled () |
| is AXIS enabled? | |
| virtual void | AXIS_enable (bool enable) |
| enable/disable AXIS | |
| virtual std::vector< uint32_t > | getLinkData (int ilink)=0 |
| read out link data | |
| virtual void | advanceLinkReadPtr () |
| Advance link read pointer. | |
| virtual std::map< std::string, uint32_t > | get_debug (uint32_t ask) |
Protected Member Functions | |
| DAQ (int links) | |
Private Attributes | |
| int | n_links |
| number of links | |
| bool | enabled_ |
| enabled | |
| int | econid_ |
| int | samples_ |
| int | soi_ |
Interface with DAQ via a WishboneInterface.
This is a very light class focused on just providing helpful functionality. Constructing/deconstructing these objects is very\ light so it can be done often.
|
inlinevirtual |
Advance link read pointer.
Reimplemented in pflib::bittware::HcalBackplaneBW_Capture, pflib::Capture_zcu, and pflib::zcu::ZCU_Capture.
|
inlinevirtual |
enable/disable AXIS
Reimplemented in pflib::bittware::HcalBackplaneBW_Capture.
|
inlinevirtual |
is AXIS enabled?
Reimplemented in pflib::bittware::HcalBackplaneBW_Capture.
|
pure virtual |
get empty/full status for the given link and stage
Implemented in pflib::bittware::HcalBackplaneBW_Capture, pflib::Capture_zcu, and pflib::zcu::ZCU_Capture.
|
inlinevirtual |
enable/disable the readout
Reimplemented in pflib::bittware::HcalBackplaneBW_Capture, and pflib::zcu::ZCU_Capture.
|
inlinevirtual |
is the readout enabled?
Reimplemented in pflib::bittware::HcalBackplaneBW_Capture, and pflib::zcu::ZCU_Capture.
|
pure virtual |
read out link data
Implemented in pflib::bittware::HcalBackplaneBW_Capture, pflib::Capture_zcu, and pflib::zcu::ZCU_Capture.
|
pure virtual |
read link parameters into the passed variables
Implemented in pflib::bittware::HcalBackplaneBW_Capture, pflib::Capture_zcu, and pflib::zcu::ZCU_Capture.
|
inlinevirtual |
setup overall event information for daq channels
Reimplemented in pflib::bittware::HcalBackplaneBW_Capture, and pflib::zcu::ZCU_Capture.
|
pure virtual |
Setup a link.
Implemented in pflib::bittware::HcalBackplaneBW_Capture, pflib::Capture_zcu, and pflib::zcu::ZCU_Capture.