1#ifndef PFLIB_FastControl_H_
2#define PFLIB_FastControl_H_
116 int& event_count,
int& vetoed_counter) {}
128 virtual void fc_link_read(
bool& link_ready,
bool& override_link_ready) {
130 override_link_ready =
false;
141 virtual bool fc_get_masks(
int& linkreset,
int& l1a,
int& calib,
int& resets) {
150 virtual void fc_set_masks(
int linkreset,
int l1a,
int calib,
int resets) {}
160FastControl* make_FastControlCMS_MMap();
Representation of FastControl controller.
Definition FastControl.h:14
virtual void chargepulse()=0
send a single calib pulse
virtual void fc_get_orbit_blinker(bool &enable, int &bx)
get the orbit blinker's settings
Definition FastControl.h:81
virtual void read_counters(int &spill_count, int &header_occ, int &event_count, int &vetoed_counter)
read counters from the FC side
Definition FastControl.h:115
virtual std::map< std::string, uint32_t > getCmdCounters()=0
Get the counters for all the different fast control commands.
Definition FastControl.cxx:20
virtual void orbit_count_reset()=0
send a orbit count reset
virtual void fc_enables(bool l1a_overall, bool ext_l1a)
set the enables for various trigger/spill sources
Definition FastControl.h:122
virtual void resetCounters()
clear the counters
Definition FastControl.h:26
virtual void fc_timer_setup(int usdelay)
set the period in us for the timer trigger
Definition FastControl.h:156
virtual void fc_set_masks(int linkreset, int l1a, int calib, int resets)
set the per-link FC command masks; a masked link does not get LINK_RESETs / L1As+PREL1As / CALPULSEs ...
Definition FastControl.h:150
virtual void fc_get_setup_link_reset(int &bx)
setup the link reset timing
Definition FastControl.h:87
virtual bool fc_get_masks(int &linkreset, int &l1a, int &calib, int &resets)
read the per-link FC command masks (diagnostic), bit i = optical link i
Definition FastControl.h:141
virtual void fc_setup_calib(int charge_to_l1a, bool enable_follow_l1a)
calib pulse setup
Definition FastControl.h:102
virtual void bufferclear()=0
send a buffer clear
virtual void standard_setup()
Do standard setup for FastControl interface e.g.
Definition FastControl.h:32
virtual void clear_run()
reset counters for a new run
Definition FastControl.h:65
virtual void fc_link_read(bool &link_ready, bool &override_link_ready)
check the FC link status and whether external RORs are accepted even when the link is down
Definition FastControl.h:128
virtual void sendROR()=0
send a single ROR
virtual void linkreset_rocs()=0
send a link reset
virtual void fc_setup_link_reset(int bx)
setup the link reset timing
Definition FastControl.h:84
virtual void fc_setup_led(int charge_to_l1a)
led pulse setup
Definition FastControl.h:109
virtual void ledpulse()=0
send a single calib pulse
virtual void fc_override_link_ready(bool override_link_ready)
accept external RORs even when the FC link is down
Definition FastControl.h:134
virtual int getL1AperROR()=0
get the number of L1A per ROR
virtual void fc_enables_read(bool &l1a_overall, bool &ext_l1a)
check the enables for various trigger/spill sources
Definition FastControl.h:119
virtual void fc_get_setup_calib(int &charge_to_l1a, bool &enable_follow_l1a)
calib pulse setup (charge to l1a time)
Definition FastControl.h:105
virtual void fc_setup_orbit_blinker(bool enable, int bx)
setup the orbit blinker L1A
Definition FastControl.h:73
virtual int fc_timer_setup_read()
get the period in us for the timer trigger
Definition FastControl.h:153
virtual void linkreset_econs()
send a link reset to the ECONs
Definition FastControl.h:50
virtual int fc_get_setup_led()
led pulse setup (charge to l1a time)
Definition FastControl.h:112
virtual void sendL1A()=0
send a single L1A
virtual void setL1AperROR(int n)=0
set the number of L1A per ROR
This version of the fast control code interfaces with the CMS Fast control library which can be contr...
Definition Backend.cxx:3