pflib v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
Loading...
Searching...
No Matches
pflib::FastControl Class Referenceabstract

Representation of FastControl controller. More...

#include <FastControl.h>

Inheritance diagram for pflib::FastControl:
[legend]

Public Member Functions

virtual std::map< std::string, uint32_t > getCmdCounters ()=0
 Get the counters for all the different fast control commands.
 
virtual void resetCounters ()
 clear the counters
 
virtual void standard_setup ()
 Do standard setup for FastControl interface e.g.
 
virtual void sendL1A ()=0
 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 ()=0
 send a link reset
 
virtual void bx_custom (int bx_addr, int bx_mask, int bx_new)=0
 set custom bunch crossing ???? for what???
 
virtual void linkreset_econs ()
 send a link reset to the ECONs
 
virtual void bufferclear ()=0
 send a buffer clear
 
virtual void orbit_count_reset ()=0
 send a orbit count reset
 
virtual void chargepulse ()=0
 send a single calib pulse
 
virtual void ledpulse ()=0
 send a single calib pulse
 
virtual void clear_run ()
 reset counters for a new run
 
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_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 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 &l1a_overall, bool &ext_l1a)
 check the enables for various trigger/spill sources
 
virtual void fc_enables (bool l1a_overall, bool ext_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
 

Protected Attributes

int l1a_per_ror_
 

Detailed Description

Representation of FastControl controller.

Member Function Documentation

◆ bufferclear()

virtual void pflib::FastControl::bufferclear ( )
pure virtual

send a buffer clear

Implemented in pflib::bittware::BWFastControl, and pflib::FastControlCMS_MMap.

◆ bx_custom()

virtual void pflib::FastControl::bx_custom ( int bx_addr,
int bx_mask,
int bx_new )
pure virtual

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

Implemented in pflib::bittware::BWFastControl, and pflib::FastControlCMS_MMap.

◆ chargepulse()

virtual void pflib::FastControl::chargepulse ( )
pure virtual

send a single calib pulse

Implemented in pflib::bittware::BWFastControl, and pflib::FastControlCMS_MMap.

◆ clear_run()

virtual void pflib::FastControl::clear_run ( )
inlinevirtual

reset counters for a new run

Reimplemented in pflib::bittware::BWFastControl, and pflib::FastControlCMS_MMap.

◆ fc_enables()

virtual void pflib::FastControl::fc_enables ( bool l1a_overall,
bool ext_l1a )
inlinevirtual

set the enables for various trigger/spill sources

Reimplemented in pflib::bittware::BWFastControl.

◆ fc_enables_read()

virtual void pflib::FastControl::fc_enables_read ( bool & l1a_overall,
bool & ext_l1a )
inlinevirtual

check the enables for various trigger/spill sources

Reimplemented in pflib::bittware::BWFastControl.

◆ fc_get_setup_calib()

virtual int pflib::FastControl::fc_get_setup_calib ( )
inlinevirtual

calib pulse setup (charge to l1a time)

Reimplemented in pflib::bittware::BWFastControl, and pflib::FastControlCMS_MMap.

◆ fc_get_setup_led()

virtual int pflib::FastControl::fc_get_setup_led ( )
inlinevirtual

led pulse setup (charge to l1a time)

Reimplemented in pflib::bittware::BWFastControl, and pflib::FastControlCMS_MMap.

◆ fc_get_setup_link_reset()

virtual void pflib::FastControl::fc_get_setup_link_reset ( int & bx)
inlinevirtual

setup the link reset timing

Reimplemented in pflib::bittware::BWFastControl.

◆ fc_setup_calib()

virtual void pflib::FastControl::fc_setup_calib ( int charge_to_l1a)
inlinevirtual

calib pulse setup

Reimplemented in pflib::bittware::BWFastControl, and pflib::FastControlCMS_MMap.

◆ fc_setup_led()

virtual void pflib::FastControl::fc_setup_led ( int charge_to_l1a)
inlinevirtual

led pulse setup

Reimplemented in pflib::bittware::BWFastControl, and pflib::FastControlCMS_MMap.

◆ fc_setup_link_reset()

virtual void pflib::FastControl::fc_setup_link_reset ( int bx)
inlinevirtual

setup the link reset timing

Reimplemented in pflib::bittware::BWFastControl.

◆ getCmdCounters()

std::vector< uint32_t > pflib::FastControl::getCmdCounters ( )
pure virtual

Get the counters for all the different fast control commands.

Implemented in pflib::bittware::BWFastControl, and pflib::FastControlCMS_MMap.

◆ getL1AperROR()

virtual int pflib::FastControl::getL1AperROR ( )
inlinevirtual

get the number of L1A per ROR

Reimplemented in pflib::bittware::BWFastControl.

◆ ledpulse()

virtual void pflib::FastControl::ledpulse ( )
pure virtual

send a single calib pulse

Implemented in pflib::bittware::BWFastControl, and pflib::FastControlCMS_MMap.

◆ linkreset_econs()

virtual void pflib::FastControl::linkreset_econs ( )
inlinevirtual

send a link reset to the ECONs

Reimplemented in pflib::bittware::BWFastControl, and pflib::FastControlCMS_MMap.

◆ linkreset_rocs()

virtual void pflib::FastControl::linkreset_rocs ( )
pure virtual

send a link reset

Implemented in pflib::bittware::BWFastControl, and pflib::FastControlCMS_MMap.

◆ orbit_count_reset()

virtual void pflib::FastControl::orbit_count_reset ( )
pure virtual

send a orbit count reset

Implemented in pflib::bittware::BWFastControl, and pflib::FastControlCMS_MMap.

◆ resetCounters()

void pflib::FastControl::resetCounters ( )
inlinevirtual

clear the counters

Reimplemented in pflib::bittware::BWFastControl, and pflib::FastControlCMS_MMap.

◆ sendL1A()

virtual void pflib::FastControl::sendL1A ( )
pure virtual

send a single L1A

Implemented in pflib::bittware::BWFastControl, and pflib::FastControlCMS_MMap.

◆ sendROR()

virtual void pflib::FastControl::sendROR ( )
inlinevirtual

send a single ROR

Reimplemented in pflib::bittware::BWFastControl.

◆ setL1AperROR()

virtual void pflib::FastControl::setL1AperROR ( int n)
inlinevirtual

set the number of L1A per ROR

Reimplemented in pflib::bittware::BWFastControl.

◆ standard_setup()

virtual void pflib::FastControl::standard_setup ( )
inlinevirtual

Do standard setup for FastControl interface e.g.

constructing fast control commands for requesting later

Reimplemented in pflib::FastControlCMS_MMap.


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