|
pflib v3.12.0-1-g716e801
Pretty Fine HGCROC Interaction Library
|
Public Member Functions | |
| Periodic | periodic (int i) |
| void | standard_setup () override |
| Do standard setup for FastControl interface e.g. | |
| void | fc_enables_read (bool &overall, bool &external) override |
| check the enables for various trigger/spill sources | |
| void | fc_enables (bool overall, bool external) override |
| set the enables for various trigger/spill sources | |
| virtual void | resetCounters () override |
| clear the counters | |
| virtual void | fc_setup_orbit_blinker (bool enable, int bx) override |
| setup the orbit blinker L1A | |
| virtual void | fc_get_orbit_blinker (bool &enable, int &bx) override |
| get the orbit blinker's settings | |
| virtual void | fc_get_setup_calib (int &charge_to_l1a, bool &enable_follow_l1a) override |
| calib pulse setup (charge to l1a time) | |
| virtual void | fc_setup_calib (int charge_to_l1a, bool enable_follow_l1a) override |
| calib pulse setup | |
| virtual int | fc_get_setup_led () override |
| led pulse setup (charge to l1a time) | |
| virtual void | fc_setup_led (int led_to_l1a) override |
| led pulse setup | |
| virtual std::map< std::string, uint32_t > | getCmdCounters () override |
| Get the counters for all the different fast control commands. | |
| virtual void | linkreset_rocs () override |
| send a link reset | |
| virtual void | orbit_count_reset () override |
| send a orbit count reset | |
| virtual void | linkreset_econs () override |
| send a link reset to the ECONs | |
| virtual void | clear_run () override |
| reset counters for a new run | |
| virtual void | bufferclear () override |
| send a buffer clear | |
| virtual void | sendL1A () override |
| send a single L1A | |
| virtual void | chargepulse () override |
| send a single calib pulse | |
| virtual void | ledpulse () override |
| send a single calib pulse | |
| virtual void | sendROR () override |
| send a single ROR | |
| void | setL1AperROR (int n) override |
| set the number of L1A per ROR | |
| int | getL1AperROR () override |
| get the number of L1A per ROR | |
Public Member Functions inherited from pflib::FastControl | |
| virtual void | fc_setup_link_reset (int bx) |
| setup the link reset timing | |
| virtual void | fc_get_setup_link_reset (int &bx) |
| setup the link reset timing | |
| virtual void | read_counters (int &spill_count, int &header_occ, int &event_count, int &vetoed_counter) |
| read counters from the FC side | |
| 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 | |
Static Public Attributes | |
| static const int | ORBIT_BLINKER = 1 |
| static const int | PEDESTAL = 2 |
| static const int | CHARGE = 3 |
| static const int | CHARGE_ROR = 4 |
| static const int | LED = 5 |
| static const int | LED_ROR = 6 |
| static const int | SINGLE_L1A = 7 |
| static const uint32_t | REQ_reset_nzs |
| static const uint32_t | REQ_count_rst = 0x2 |
| static const uint32_t | REQ_sequence_req |
| static const uint32_t | REQ_orbit_count_reset |
| static const uint32_t | REQ_chipsync |
| static const uint32_t | REQ_ebr |
| static const uint32_t | REQ_ecr |
| static const uint32_t | REQ_link_reset_roct |
| static const uint32_t | REQ_link_reset_rocd |
| static const uint32_t | REQ_link_reset_econt |
| static const uint32_t | REQ_link_reset_econd |
| static const uint32_t | REQ_spare0 |
| static const uint32_t | REQ_spare1 |
| static const uint32_t | REQ_spare2 |
| static const uint32_t | REQ_spare3 |
| static const uint32_t | REQ_spare4 |
| static const uint32_t | REQ_spare5 |
| static const uint32_t | REQ_spare6 |
| static const uint32_t | REQ_spare7 |
Private Attributes | |
| UIO | uio_ |
| logging::logger | the_log_ {logging::get("FastControlCMS_MMap")} |
|
inlineoverridevirtual |
send a buffer clear
Implements pflib::FastControl.
|
inlineoverridevirtual |
send a single calib pulse
Implements pflib::FastControl.
|
inlineoverridevirtual |
reset counters for a new run
Reimplemented from pflib::FastControl.
|
inlineoverridevirtual |
set the enables for various trigger/spill sources
Reimplemented from pflib::FastControl.
|
inlineoverridevirtual |
check the enables for various trigger/spill sources
Reimplemented from pflib::FastControl.
|
inlineoverridevirtual |
get the orbit blinker's settings
| [out] | enable | whether the blinker is on/off |
| [out] | bx | which BX the L1A is sent on |
Reimplemented from pflib::FastControl.
|
inlineoverridevirtual |
calib pulse setup (charge to l1a time)
Reimplemented from pflib::FastControl.
|
inlineoverridevirtual |
led pulse setup (charge to l1a time)
Reimplemented from pflib::FastControl.
|
inlineoverridevirtual |
calib pulse setup
| [in] | charge_to_l1a | number of bx separating the charge command from the following L1A command |
| [in] | enable_follow_l1a | whether to enable a following L1A command (true) or not (false) |
You probably want to enable the following L1A command if you are doing chip-tuning. Disabling it is only helpful if you are testing the ability for some other infrastructure to make the trigger descision.
Reimplemented from pflib::FastControl.
|
inlineoverridevirtual |
led pulse setup
Reimplemented from pflib::FastControl.
|
inlineoverridevirtual |
setup the orbit blinker L1A
| [in] | enable | turn on/off orbit blinker |
| [in] | bx | which BX the L1A is sent on |
Reimplemented from pflib::FastControl.
|
inlineoverridevirtual |
Get the counters for all the different fast control commands.
Implements pflib::FastControl.
|
inlineoverridevirtual |
get the number of L1A per ROR
Implements pflib::FastControl.
|
inlineoverridevirtual |
send a single calib pulse
Implements pflib::FastControl.
|
inlineoverridevirtual |
send a link reset to the ECONs
Reimplemented from pflib::FastControl.
|
inlineoverridevirtual |
send a link reset
Implements pflib::FastControl.
|
inlineoverridevirtual |
send a orbit count reset
Implements pflib::FastControl.
|
inlineoverridevirtual |
clear the counters
Reimplemented from pflib::FastControl.
|
inlineoverridevirtual |
send a single L1A
Implements pflib::FastControl.
|
inlineoverridevirtual |
send a single ROR
Implements pflib::FastControl.
|
inlineoverridevirtual |
set the number of L1A per ROR
Implements pflib::FastControl.
|
inlineoverridevirtual |
Do standard setup for FastControl interface e.g.
constructing fast control commands for requesting later
Reimplemented from pflib::FastControl.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |