1#ifndef PFLIB_bittware_FastControl_H_
2#define PFLIB_bittware_FastControl_H_
4#include "pflib/FastControl.h"
5#include "pflib/bittware/bittware_axilite.h"
30 bool enable_follow_l1a)
override;
32 bool& enable_follow_l1a)
override;
42 virtual void fc_enables(
bool all_l1a,
bool ext_l1a);
45 bool& override_link_ready)
override;
48 virtual bool fc_get_masks(
int& linkreset,
int& l1a,
int& calib,
49 int& resets)
override;
50 virtual void fc_set_masks(
int linkreset,
int l1a,
int calib,
Representation of FastControl controller.
Definition FastControl.h:14
This class provides access to read and write via the ioctl path to the AXILite targets within the Bit...
Definition bittware_axilite.h:14
Representation of FastControl controller.
Definition bittware_FastControl.h:13
virtual void fc_get_setup_calib(int &charge_to_l1a, bool &enable_follow_l1a) override
calib pulse setup (charge to l1a time)
Definition bittware_FastControl.cxx:187
virtual void fc_enables(bool all_l1a, bool ext_l1a)
set the enables for various trigger sources
Definition bittware_FastControl.cxx:203
virtual void fc_set_masks(int linkreset, int l1a, int calib, int resets) override
set the per-link FC command masks; a masked link does not get LINK_RESETs / L1As+PREL1As / CALPULSEs ...
Definition bittware_FastControl.cxx:93
virtual void ledpulse()
send a single calib pulse
Definition bittware_FastControl.cxx:165
virtual void linkreset_rocs()
send a link reset
Definition bittware_FastControl.cxx:141
virtual int getL1AperROR()
get the number of L1A per ROR
Definition bittware_FastControl.cxx:138
virtual void fc_setup_led(int charge_to_l1a)
led pulse setup
Definition bittware_FastControl.cxx:192
virtual bool fc_get_masks(int &linkreset, int &l1a, int &calib, int &resets) override
read the per-link FC command masks (diagnostic), bit i = optical link i
Definition bittware_FastControl.cxx:83
virtual void linkreset_econs()
send a link reset to the ECONs
Definition bittware_FastControl.cxx:150
virtual void resetCounters()
clear the counters
Definition bittware_FastControl.cxx:130
virtual void fc_setup_link_reset(int bx)
setup the link reset timing
Definition bittware_FastControl.cxx:175
virtual void fc_override_link_ready(bool override_link_ready) override
accept external RORs even when the FC link is down
Definition bittware_FastControl.cxx:225
virtual void sendL1A()
send a single L1A
Definition bittware_FastControl.cxx:133
virtual std::map< std::string, uint32_t > getCmdCounters()
Get the counters for all the different fast control commands.
Definition bittware_FastControl.cxx:123
virtual void fc_get_setup_link_reset(int &bx)
setup the link reset timing
Definition bittware_FastControl.cxx:179
virtual void fc_setup_calib(int charge_to_l1a, bool enable_follow_l1a) override
calib pulse setup
Definition bittware_FastControl.cxx:183
virtual int fc_get_setup_led()
led pulse setup (charge to l1a time)
Definition bittware_FastControl.cxx:195
virtual void fc_link_read(bool &link_ready, bool &override_link_ready) override
check the FC link status and whether external RORs are accepted even when the link is down
Definition bittware_FastControl.cxx:219
virtual void bufferclear()
send a buffer clear
Definition bittware_FastControl.cxx:158
virtual void orbit_count_reset()
send a orbit count reset
Definition bittware_FastControl.cxx:159
virtual void fc_enables_read(bool &all_l1a, bool &ext_l1a)
check the enables for various trigger sources
Definition bittware_FastControl.cxx:199
virtual void sendROR()
send a single ROR
Definition bittware_FastControl.cxx:134
virtual void clear_run()
reset counters for a new run
Definition bittware_FastControl.cxx:168
virtual void chargepulse()
send a single calib pulse
Definition bittware_FastControl.cxx:162
virtual void setL1AperROR(int n)
set the number of L1A per ROR
Definition bittware_FastControl.cxx:135
This version of the fast control code interfaces with the CMS Fast control library which can be contr...
Definition Backend.cxx:3