pflib v3.0.0-rc1-25-gb91774e
Pretty Fine HGCROC Interaction Library
All Classes Namespaces Files Functions Variables Typedefs Pages
pflib::FastControl Class Referenceabstract

Representation of FastControl controller. More...

#include <FastControl.h>

Inheritance diagram for pflib::FastControl:
[legend]

Public Member Functions

virtual std::vector< uint32_t > getCmdCounters ()=0
 Get the counters for all the different fast control commands.
 
virtual void sendL1A ()=0
 send a single L1A
 
virtual void linkreset_rocs ()=0
 send a link reset
 
virtual void bufferclear ()=0
 send a buffer clear
 
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_calib (int pulse_len, int l1a_offset)
 calib pulse setup
 
virtual void fc_get_setup_calib (int &pulse_len, int &l1a_offset)
 calib pulse setup
 
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 &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
 

Detailed Description

Representation of FastControl controller.

Member Function Documentation

◆ bufferclear()

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

send a buffer clear

Implemented in pflib::FastControlCMS_MMap.

◆ chargepulse()

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

send a single calib pulse

Implemented in pflib::FastControlCMS_MMap.

◆ getCmdCounters()

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

Get the counters for all the different fast control commands.

Implemented in pflib::FastControlCMS_MMap.

◆ ledpulse()

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

send a single calib pulse

Implemented in pflib::FastControlCMS_MMap.

◆ linkreset_rocs()

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

send a link reset

Implemented in pflib::FastControlCMS_MMap.

◆ sendL1A()

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

send a single L1A

Implemented in pflib::FastControlCMS_MMap.


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