|
pflib v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
|
Abstract interface for various backend manipulations. More...
#include <Backend.h>
Public Member Functions | |
| virtual void | fc_sendL1A ()=0 |
| send a single L1A | |
| virtual void | fc_linkreset ()=0 |
| send a link reset | |
| virtual void | fc_bufferclear ()=0 |
| send a single L1A | |
| virtual void | fc_calibpulse ()=0 |
| send a single calib pulse | |
| virtual void | fc_clear_run () |
| reset counters for a new run | |
| virtual void | fc_setup_calib (int pulse_len, int l1a_offset)=0 |
| calib pulse setup | |
| virtual void | fc_get_setup_calib (int &pulse_len, int &l1a_offset)=0 |
| calib pulse setup | |
| virtual void | fc_read_counters (int &spill_count, int &header_occ, int &event_count, int &vetoed_counter) |
| read counters from the FC side | |
| virtual void | fc_enables_read (bool &ext_l1a, bool &ext_spill, bool &timer_l1a) |
| check the enables for various trigger/spill sources | |
| virtual void | fc_enables (bool ext_l1a, bool ext_spill, bool timer_l1a) |
| set the enables for various trigger/spill sources | |
| virtual int | fc_timer_setup_read () |
| get the period in us for the timer trigger | |
| virtual void | fc_timer_setup (int usdelay) |
| set the period in us for the timer trigger | |
| virtual void | daq_reset ()=0 |
| reset the daq buffers | |
| virtual void | daq_advance_ptr ()=0 |
| advance the daq pointer along buffer | |
| virtual void | daq_status (bool &full, bool &empty, int &nevents, int &next_event_size)=0 |
| readout the daq status into the passed variables | |
| virtual std::vector< uint32_t > | daq_read_event ()=0 |
| read the aquired event and return it | |
| virtual void | daq_setup_event_tag (int run, int day, int month, int hour, int min) |
| Set the event tagging information. | |
Abstract interface for various backend manipulations.
All backend communication methods need to implement these functions.
|
pure virtual |
advance the daq pointer along buffer
Implemented in pflib::rogue::RogueWishboneInterface.
|
pure virtual |
read the aquired event and return it
Implemented in pflib::rogue::RogueWishboneInterface.
|
pure virtual |
reset the daq buffers
Implemented in pflib::rogue::RogueWishboneInterface.
|
virtual |
Set the event tagging information.
Reimplemented in pflib::rogue::RogueWishboneInterface.
|
pure virtual |
readout the daq status into the passed variables
Implemented in pflib::rogue::RogueWishboneInterface.
|
pure virtual |
send a single L1A
Implemented in pflib::rogue::RogueWishboneInterface.
|
pure virtual |
send a single calib pulse
Implemented in pflib::rogue::RogueWishboneInterface.
|
inlinevirtual |
reset counters for a new run
Reimplemented in pflib::rogue::RogueWishboneInterface.
|
inlinevirtual |
set the enables for various trigger/spill sources
Reimplemented in pflib::rogue::RogueWishboneInterface.
|
inlinevirtual |
check the enables for various trigger/spill sources
Reimplemented in pflib::rogue::RogueWishboneInterface.
|
pure virtual |
calib pulse setup
Implemented in pflib::rogue::RogueWishboneInterface.
|
pure virtual |
send a link reset
Implemented in pflib::rogue::RogueWishboneInterface.
|
inlinevirtual |
read counters from the FC side
Reimplemented in pflib::rogue::RogueWishboneInterface.
|
pure virtual |
send a single L1A
Implemented in pflib::rogue::RogueWishboneInterface.
|
pure virtual |
calib pulse setup
Implemented in pflib::rogue::RogueWishboneInterface.
|
inlinevirtual |
set the period in us for the timer trigger
Reimplemented in pflib::rogue::RogueWishboneInterface.
|
inlinevirtual |
get the period in us for the timer trigger
Reimplemented in pflib::rogue::RogueWishboneInterface.