pflib v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
Loading...
Searching...
No Matches
pflib::bittware::BWFastControl Class Reference

Representation of FastControl controller. More...

#include <bittware_FastControl.h>

Inheritance diagram for pflib::bittware::BWFastControl:
[legend]
Collaboration diagram for pflib::bittware::BWFastControl:
[legend]

Public Member Functions

 BWFastControl (const char *dev)
 
virtual std::map< std::string, uint32_t > getCmdCounters ()
 Get the counters for all the different fast control commands.
 
virtual void resetCounters ()
 clear the counters
 
virtual void sendL1A ()
 send a single L1A
 
virtual void sendROR ()
 send a single ROR
 
virtual void setL1AperROR (int n)
 set the number of L1A per ROR
 
virtual int getL1AperROR ()
 get the number of L1A per ROR
 
virtual void linkreset_rocs ()
 send a link reset
 
virtual void bx_custom (int bx_addr, int bx_mask, int bx_new)
 set custom bunch crossing ???? for what???
 
virtual void linkreset_econs ()
 send a link reset to the ECONs
 
virtual void bufferclear ()
 send a buffer clear
 
virtual void orbit_count_reset ()
 send a orbit count reset
 
virtual void chargepulse ()
 send a single calib pulse
 
virtual void ledpulse ()
 send a single calib pulse
 
virtual void clear_run ()
 reset counters for a new run
 
virtual void fc_setup_calib (int charge_to_l1a)
 calib pulse setup
 
virtual int fc_get_setup_calib ()
 calib pulse setup (charge to l1a time)
 
virtual void fc_setup_led (int charge_to_l1a)
 led pulse setup
 
virtual int fc_get_setup_led ()
 led pulse setup (charge to l1a time)
 
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 fc_enables_read (bool &all_l1a, bool &ext_l1a)
 check the enables for various trigger sources
 
virtual void fc_enables (bool all_l1a, bool ext_l1a)
 set the enables for various trigger sources
 
- Public Member Functions inherited from pflib::FastControl
virtual void standard_setup ()
 Do standard setup for FastControl interface e.g.
 
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
 

Private Attributes

AxiLite axi_
 

Additional Inherited Members

- Protected Attributes inherited from pflib::FastControl
int l1a_per_ror_
 

Detailed Description

Representation of FastControl controller.

Member Function Documentation

◆ bufferclear()

void pflib::bittware::BWFastControl::bufferclear ( )
virtual

send a buffer clear

Implements pflib::FastControl.

◆ bx_custom()

virtual void pflib::bittware::BWFastControl::bx_custom ( int bx_addr,
int bx_mask,
int bx_new )
inlinevirtual

set custom bunch crossing ???? for what???

Implements pflib::FastControl.

◆ chargepulse()

void pflib::bittware::BWFastControl::chargepulse ( )
virtual

send a single calib pulse

Implements pflib::FastControl.

◆ clear_run()

void pflib::bittware::BWFastControl::clear_run ( )
virtual

reset counters for a new run

Reimplemented from pflib::FastControl.

◆ fc_enables()

void pflib::bittware::BWFastControl::fc_enables ( bool all_l1a,
bool ext_l1a )
virtual

set the enables for various trigger sources

Reimplemented from pflib::FastControl.

◆ fc_enables_read()

void pflib::bittware::BWFastControl::fc_enables_read ( bool & all_l1a,
bool & ext_l1a )
virtual

check the enables for various trigger sources

Reimplemented from pflib::FastControl.

◆ fc_get_setup_calib()

int pflib::bittware::BWFastControl::fc_get_setup_calib ( )
virtual

calib pulse setup (charge to l1a time)

Reimplemented from pflib::FastControl.

◆ fc_get_setup_led()

int pflib::bittware::BWFastControl::fc_get_setup_led ( )
virtual

led pulse setup (charge to l1a time)

Reimplemented from pflib::FastControl.

◆ fc_get_setup_link_reset()

void pflib::bittware::BWFastControl::fc_get_setup_link_reset ( int & bx)
virtual

setup the link reset timing

Reimplemented from pflib::FastControl.

◆ fc_setup_calib()

void pflib::bittware::BWFastControl::fc_setup_calib ( int charge_to_l1a)
virtual

calib pulse setup

Reimplemented from pflib::FastControl.

◆ fc_setup_led()

void pflib::bittware::BWFastControl::fc_setup_led ( int charge_to_l1a)
virtual

led pulse setup

Reimplemented from pflib::FastControl.

◆ fc_setup_link_reset()

void pflib::bittware::BWFastControl::fc_setup_link_reset ( int bx)
virtual

setup the link reset timing

Reimplemented from pflib::FastControl.

◆ getCmdCounters()

std::map< std::string, uint32_t > pflib::bittware::BWFastControl::getCmdCounters ( )
virtual

Get the counters for all the different fast control commands.

Implements pflib::FastControl.

◆ getL1AperROR()

int pflib::bittware::BWFastControl::getL1AperROR ( )
virtual

get the number of L1A per ROR

Reimplemented from pflib::FastControl.

◆ ledpulse()

void pflib::bittware::BWFastControl::ledpulse ( )
virtual

send a single calib pulse

Implements pflib::FastControl.

◆ linkreset_econs()

void pflib::bittware::BWFastControl::linkreset_econs ( )
virtual

send a link reset to the ECONs

Reimplemented from pflib::FastControl.

◆ linkreset_rocs()

void pflib::bittware::BWFastControl::linkreset_rocs ( )
virtual

send a link reset

Implements pflib::FastControl.

◆ orbit_count_reset()

void pflib::bittware::BWFastControl::orbit_count_reset ( )
virtual

send a orbit count reset

Implements pflib::FastControl.

◆ resetCounters()

void pflib::bittware::BWFastControl::resetCounters ( )
virtual

clear the counters

Reimplemented from pflib::FastControl.

◆ sendL1A()

void pflib::bittware::BWFastControl::sendL1A ( )
virtual

send a single L1A

Implements pflib::FastControl.

◆ sendROR()

void pflib::bittware::BWFastControl::sendROR ( )
virtual

send a single ROR

Reimplemented from pflib::FastControl.

◆ setL1AperROR()

void pflib::bittware::BWFastControl::setL1AperROR ( int n)
virtual

set the number of L1A per ROR

Reimplemented from pflib::FastControl.


The documentation for this class was generated from the following files: