FACT++  1.0
template<class T>
StateMachineFAD< T >::StateMachineFAD ( ostream &  out = cout)
inline

Definition at line 1658 of file fadctrl.cc.

References StateMachineFAD< T >::AbortConnection(), StateMachineFAD< T >::AddAddress(), StateMachineFAD< T >::CloseOpenFiles(), StateMachineFAD< T >::Cmd(), StateMachineFAD< T >::CmdEnable(), zofits::DefaultMaxMemory(), zofits::DefaultMaxNumTiles(), zofits::DefaultNumRowsPerTile(), zofits::DefaultNumThreads(), StateMachineFAD< T >::EnableSlot(), kCmdBusyOff, kCmdBusyOn, kCmdContTrigger, kCmdDrsEnable, kCmdDwrite, kCmdResetEventCounter, kCmdSclk, kCmdSocket, kCmdSrclk, kCmdTriggerLine, MCP::State::kConfigured, FTM::State::kConfiguring1, FTM::State::kConfiguring2, MCP::State::kConfiguring3, Agilent::State::kConnected, BIAS::State::kConnecting, Agilent::State::kDisconnected, kNone, StateMachineFAD< T >::ListSlots(), StateMachineFAD< T >::LoadDrsCalibration(), StateMachineFAD< T >::PhaseShift(), StateMachineFAD< T >::PrintEvent(), StateMachineFAD< T >::RemoveSlot(), StateMachineFAD< T >::Reset(), StateMachineFAD< T >::ResetConfig(), StateMachineFAD< T >::ResetSecondaryDrsBaseline(), StateMachineFAD< T >::SendCmd(), StateMachineFAD< T >::SendCmdData(), StateMachineFAD< T >::SendTriggers(), StateMachineFAD< T >::SetBlockTransmission(), StateMachineFAD< T >::SetBlockTransmissionRange(), StateMachineFAD< T >::SetDac(), StateMachineFAD< T >::SetDataOutput(), StateMachineFAD< T >::SetDebugTx(), StateMachineFAD< T >::SetEventTimeoutSec(), StateMachineFAD< T >::SetFileFormat(), StateMachineFAD< T >::SetHexOutput(), StateMachineFAD< T >::SetIgnoreSlot(), StateMachineFAD< T >::SetIgnoreSlots(), StateMachineFAD< T >::SetMaxMemoryBuffer(), StateMachineFAD< T >::SetRegister(), StateMachineFAD< T >::SetRoi(), StateMachineFAD< T >::SetRunNumber(), StateMachineFAD< T >::SetTriggerRate(), StateMachineFAD< T >::SetupZFits(), StateMachineFAD< T >::SetVerbosity(), StateMachineFAD< T >::StartConfigure(), StateMachineFAD< T >::StartConnection(), StateMachineFAD< T >::StartDrsCalibration(), StateMachineFAD< T >::StopConnection(), StateMachineFAD< T >::ToggleSlot(), and StateMachineFAD< T >::Trigger().

1658  :
1659  StateMachineAsio<T>(out, "FAD_CONTROL"),
1660  EventBuilderWrapper(*static_cast<MessageImp*>(this)),
1661  fStatus1(40), fStatus2(40), fStatusT(false),
1662  fDimStartRun("FAD_CONTROL/START_RUN", "X:1;X:1",
1663  "Run numbers"
1664  "|run[idx]:Run no of last conf'd run (-1 if reset or none config'd yet)"
1665  "|next[idx]:Run number which will be assigned to next configuration"),
1666  fDimConnection("FAD_CONTROL/CONNECTIONS", "C:40;C:1",
1667  "Connection status of FAD boards"
1668  "|status[bitpattern]:lower bits stat1, upper bits stat2, for every board. 40=thread"
1669  "|thread[bool]:true or false whether the event builder threads are running")
1670  {
1671  ResetConfig();
1673 
1674  // State names
1675  T::AddStateName(FAD::State::kOffline, "Disengaged",
1676  "All enabled FAD boards are disconnected and the event-builer thread is not running.");
1677 
1678  T::AddStateName(FAD::State::kDisconnected, "Disconnected",
1679  "All enabled FAD boards are disconnected, but the event-builder thread is running.");
1680 
1681  T::AddStateName(FAD::State::kConnecting, "Connecting",
1682  "Only some enabled FAD boards are connected.");
1683 
1684  T::AddStateName(FAD::State::kConnected, "Connected",
1685  "All enabled FAD boards are connected..");
1686 
1687  T::AddStateName(FAD::State::kConfiguring1, "Configuring1",
1688  "Waiting 3 seconds for all FADs to be configured before requesting configuration.");
1689 
1690  T::AddStateName(FAD::State::kConfiguring2, "Configuring2",
1691  "Waiting until all boards returned their configuration and they are valid.");
1692 
1693  T::AddStateName(FAD::State::kConfiguring3, "Configuring3",
1694  "Waiting until 'enable trigger line' was sent to all boards.");
1695 
1696  T::AddStateName(FAD::State::kConfigured, "Configured",
1697  "The configuration of all boards was successfully cross checked. Waiting for events with a new run number to receive.");
1698 
1699  T::AddStateName(FAD::State::kRunInProgress, "RunInProgress",
1700  "Events currently received by the event builder will be flagged to be written, no end-of-run event occured yet.");
1701 
1702  // FAD Commands
1703  T::AddEvent("SEND_CMD", "I:1", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1704  (bind(&StateMachineFAD::SendCmd, this, placeholders::_1))
1705  ("Send a command to the FADs. Values between 0 and 0xffff are allowed."
1706  "|command[uint16]:Command to be transmittted.");
1707  T::AddEvent("SEND_DATA", "I:2", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1708  (bind(&StateMachineFAD::SendCmdData, this, placeholders::_1))
1709  ("Send a command with data to the FADs. Values between 0 and 0xffff are allowed."
1710  "|command[uint16]:Command to be transmittted."
1711  "|data[uint16]:Data to be sent with the command.");
1712 
1713  T::AddEvent("ENABLE_SRCLK", "B:1", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1714  (bind(&StateMachineFAD::CmdEnable, this, placeholders::_1, FAD::kCmdSrclk))
1715  ("Set SRCLK");
1716  T::AddEvent("ENABLE_BUSY_OFF", "B:1", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1717  (bind(&StateMachineFAD::CmdEnable, this, placeholders::_1, FAD::kCmdBusyOff))
1718  ("Set BUSY continously low");
1719  T::AddEvent("ENABLE_BUSY_ON", "B:1", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1720  (bind(&StateMachineFAD::CmdEnable, this, placeholders::_1, FAD::kCmdBusyOn))
1721  ("Set BUSY constantly high (has priority over BUSY_OFF)");
1722  T::AddEvent("ENABLE_SCLK", "B:1", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1723  (bind(&StateMachineFAD::CmdEnable, this, placeholders::_1, FAD::kCmdSclk))
1724  ("Set SCLK");
1725  T::AddEvent("ENABLE_DRS", "B:1", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1726  (bind(&StateMachineFAD::CmdEnable, this, placeholders::_1, FAD::kCmdDrsEnable))
1727  ("Switch Domino wave");
1728  T::AddEvent("ENABLE_DWRITE", "B:1", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1729  (bind(&StateMachineFAD::CmdEnable, this, placeholders::_1, FAD::kCmdDwrite))
1730  ("Set Dwrite (possibly high / always low)");
1731  T::AddEvent("ENABLE_CONTINOUS_TRIGGER", "B:1", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1732  (bind(&StateMachineFAD::CmdEnable, this, placeholders::_1, FAD::kCmdContTrigger))
1733  ("Enable continous (internal) trigger.");
1734  T::AddEvent("ENABLE_TRIGGER_LINE", "B:1", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1735  (bind(&StateMachineFAD::CmdEnable, this, placeholders::_1, FAD::kCmdTriggerLine))
1736  ("Incoming triggers can be accepted/will not be accepted");
1737  T::AddEvent("ENABLE_COMMAND_SOCKET_MODE", "B:1", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1738  (bind(&StateMachineFAD::CmdEnable, this, placeholders::_1, FAD::kCmdSocket))
1739  ("Set debug mode (yes: dump events through command socket, no=dump events through other sockets)");
1740 
1741  T::AddEvent("SET_TRIGGER_RATE", "I:1", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1742  (bind(&StateMachineFAD::SetTriggerRate, this, placeholders::_1))
1743  ("Enable continous trigger");
1744  T::AddEvent("SEND_SINGLE_TRIGGER")
1745  (bind(&StateMachineFAD::Trigger, this, 1))
1746  ("Issue software triggers");
1747  T::AddEvent("SEND_N_TRIGGERS", "I", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1748  (bind(&StateMachineFAD::SendTriggers, this, placeholders::_1))
1749  ("Issue N software triggers (note that these are the triggers sent, not the triggers executed)"
1750  "|N[int]: Number of triggers to be sent to the board.");
1751  /*
1752  T::AddEvent("START_RUN", "", FAD::kConnecting, FAD::kConnected, FAD::kRunInProgress)
1753  (bind(&StateMachineFAD::StartRun, this, placeholders::_1, true))
1754  ("Set FAD DAQ mode. when started, no configurations must be send.");
1755  T::AddEvent("STOP_RUN", FAD::kConnecting, FAD::kConnected, FAD::kRunInProgress)
1756  (bind(&StateMachineFAD::StartRun, this, placeholders::_1, false))
1757  ("");
1758  */
1759  T::AddEvent("PHASE_SHIFT", "S:1", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1760  (bind(&StateMachineFAD::PhaseShift, this, placeholders::_1))
1761  ("Adjust ADC phase (in 'steps')"
1762  "|phase[short]");
1763 
1764  T::AddEvent("RESET_EVENT_COUNTER", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1766  ("Reset the FAD boards' event counter to 0.");
1767 
1768  T::AddEvent("SET_RUN_NUMBER", "X:1", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1769  (bind(&StateMachineFAD::SetRunNumber, this, placeholders::_1))
1770  ("Sent a new run-number to the boards"
1771  "|num[int]:Run number");
1772 
1773  T::AddEvent("SET_MAX_MEMORY", "S:1")
1774  (bind(&StateMachineFAD::SetMaxMemoryBuffer, this, placeholders::_1))
1775  ("Set maximum memory buffer size allowed to be consumed by the EventBuilder to buffer events."
1776  "|memory[short]:Buffer size in Mega-bytes.");
1777 
1778  T::AddEvent("SET_EVENT_TIMEOUT", "S:1")
1779  (bind(&StateMachineFAD::SetEventTimeoutSec, this, placeholders::_1))
1780  ("Set the timeout after which an event expires which was not completely received yet."
1781  "|timeout[sec]:Timeout in seconds [1;32767]");
1782 
1783  T::AddEvent("SET_REGISTER", "I:2", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1784  (bind(&StateMachineFAD::SetRegister, this, placeholders::_1))
1785  ("set register to value"
1786  "|addr[short]:Address of register"
1787  "|val[short]:Value to be set");
1788 
1789  // FIXME: Maybe add a mask which channels should be set?
1790  T::AddEvent("SET_REGION_OF_INTEREST", "I:2", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1791  (bind(&StateMachineFAD::SetRoi, this, placeholders::_1))
1792  ("Set region-of-interest to value"
1793  "|channel[short]:Channel on each chip for which the ROI is set (0-8), -1 for all"
1794  "|val[short]:Value to be set");
1795 
1796  // FIXME: Maybe add a mask which channels should be set?
1797  T::AddEvent("SET_DAC_VALUE", "I:2", FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1798  (bind(&StateMachineFAD::SetDac, this, placeholders::_1))
1799  ("Set DAC numbers in range to value"
1800  "|addr[short]:Address of register (-1 for all)"
1801  "|val[short]:Value to be set");
1802 
1803  T::AddEvent("CONFIGURE", "X:2;C", FAD::State::kConnected, FAD::State::kConfigured, FAD::State::kRunInProgress)
1804  (bind(&StateMachineFAD::StartConfigure, this, placeholders::_1))
1805  ("Configure a new run. If the internla trigger is enabled this might even start a new run."
1806  "|time_max[s]:Maximum time before the run is closed in seconds (0: unlimited)"
1807  "|num_max[int]:Maximum number of events before the run is closed in seconds (0: unlimited)"
1808  "|run_type[string]:Run type which describes the runs");
1809 
1811  (bind(&StateMachineFAD::ResetConfig, this))
1812  ("If configuration failed and the fadctrl is waiting for something, use this to reset the state.");
1813 
1814  // Verbosity commands
1815  T::AddEvent("SET_VERBOSE", "B:1")
1816  (bind(&StateMachineFAD::SetVerbosity, this, placeholders::_1))
1817  ("Set verbosity state"
1818  "|verbosity[bool]:disable or enable verbosity for received data (yes/no), except dynamic data");
1819 
1820  T::AddEvent("SET_HEX_OUTPUT", "B:1")
1821  (bind(&StateMachineFAD::SetHexOutput, this, placeholders::_1))
1822  ("Enable or disable hex output for received data"
1823  "|hexout[bool]:disable or enable hex output for received data (yes/no)");
1824 
1825  T::AddEvent("SET_DATA_OUTPUT", "B:1")
1826  (bind(&StateMachineFAD::SetDataOutput, this, placeholders::_1))
1827  ("Enable or disable printing of the received adc data to the console"
1828  "|dataout[bool]:disable or enable data output for received data (yes/no)");
1829 
1830  T::AddEvent("SET_DEBUG_TX", "B:1")
1831  (bind(&StateMachineFAD::SetDebugTx, this, placeholders::_1))
1832  ("Enable or disable the output of messages in case of successfull data transmission to the boards."
1833  "|debug[bool]:disable or enable debug output for transmitted data (yes/no)");
1834 
1835  T::AddEvent("PRINT_EVENT", "S:1")
1836  (bind(&StateMachineFAD::PrintEvent, this, placeholders::_1))
1837  ("Print (last) event"
1838  "|board[short]:slot from which the event should be printed (-1 for all)");
1839 
1840  T::AddEvent("BLOCK_TRANSMISSION", "S:1;B:1")
1841  (bind(&StateMachineFAD::SetBlockTransmission, this, placeholders::_1))
1842  ("Blocks the transmission of commands to the given slot. Use with care! For debugging pupose only!"
1843  "|slot[short]:Slot to which the command transmission should be blocked (0-39)"
1844  "|enable[bool]:Whether the command transmission should be blockes (yes) or allowed (no)");
1845 
1846  T::AddEvent("BLOCK_TRANSMISSION_RANGE", "S:2;B:1")
1847  (bind(&StateMachineFAD::SetBlockTransmissionRange, this, placeholders::_1))
1848  ("Blocks the transmission of commands to the given range of slots. Use with care! For debugging pupose only!"
1849  "|first[short]:First slot to which the command transmission should be blocked (0-39)"
1850  "|last[short]:Last slot to which the command transmission should be blocked (0-39)"
1851  "|enable[bool]:Whether the command transmission should be blockes (yes) or allowed (no)");
1852 
1853  T::AddEvent("IGNORE_EVENTS", "S:1;B:1")
1854  (bind(&StateMachineFAD::SetIgnoreSlot, this, placeholders::_1))
1855  ("Instructs the event-builder to ignore events from the given slot but still read the data from the socket."
1856  "|slot[short]:Slot from which the data should be ignored when building events"
1857  "|enable[bool]:Whether the event builder should ignore data from this slot (yes) or allowed (no)");
1858 
1859  T::AddEvent("IGNORE_EVENTS_RANGE", "S:2;B:1")
1860  (bind(&StateMachineFAD::SetIgnoreSlots, this, placeholders::_1))
1861  ("Instructs the event-builder to ignore events from the given slot but still read the data from the socket."
1862  "|first[short]:First slot from which the data should be ignored when building events"
1863  "|last[short]:Last slot from which the data should be ignored when building events"
1864  "|enable[bool]:Whether the event builder should ignore data from this slot (yes) or allowed (no)");
1865 
1866  T::AddEvent("CLOSE_OPEN_FILES", FAD::State::kDisconnected, FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1867  (bind(&StateMachineFAD::CloseOpenFiles, this))
1868  ("Close all run files opened by the EventBuilder.");
1869 
1870  //T::AddEvent("TEST", "S:1")
1871  // (bind(&StateMachineFAD::Test, this, placeholders::_1))
1872  // ("");
1873 
1874 
1875 
1876  // Conenction commands
1877  T::AddEvent("START", FAD::State::kOffline)
1878  (bind(&StateMachineFAD::StartConnection, this))
1879  ("Start EventBuilder thread and connect all valid slots.");
1880 
1881  T::AddEvent("STOP", FAD::State::kDisconnected, FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1882  (bind(&StateMachineFAD::StopConnection, this))
1883  ("Stop EventBuilder thread (still write buffered events) and disconnect all slots.");
1884 
1885  T::AddEvent("ABORT", FAD::State::kDisconnected, FAD::State::kConnecting, FAD::State::kConnected, FAD::State::kRunInProgress)
1886  (bind(&StateMachineFAD::AbortConnection, this))
1887  ("Immediately abort EventBuilder thread and disconnect all slots.");
1888 
1889  T::AddEvent("SOFT_RESET", FAD::State::kConnected, FAD::State::kRunInProgress)
1890  (bind(&StateMachineFAD::Reset, this, true))
1891  ("Wait for buffers to drain, close all files and reinitialize event builder thread.");
1892 
1893  T::AddEvent("HARD_RESET", FAD::State::kConnected, FAD::State::kRunInProgress)
1894  (bind(&StateMachineFAD::Reset, this, false))
1895  ("Free all buffers, close all files and reinitialize event builder thread.");
1896 
1898  (bind(&StateMachineFAD::EnableSlot, this, placeholders::_1, true))
1899  ("Connect a disconnected slot.");
1900 
1901  T::AddEvent("DISCONNECT", "S:1", FAD::State::kConnecting, FAD::State::kConnected)
1902  (bind(&StateMachineFAD::EnableSlot, this, placeholders::_1, false))
1903  ("Disconnect a connected slot.");
1904 
1906  (bind(&StateMachineFAD::ToggleSlot, this, placeholders::_1))
1907  ("Toggle the status of a slot.");
1908 
1909  T::AddEvent("SET_FILE_FORMAT", "S:1")
1910  (bind(&StateMachineFAD::SetFileFormat, this, placeholders::_1))
1911  ("Set the output file format (see FAD::FileFormat_t)");
1912 
1913  T::AddEvent("START_DRS_CALIBRATION")
1915  ("Start a drs calibration (shortcut for SET_FILEFORMAT 4)");
1916 
1917  T::AddEvent("RESET_SECONDARY_DRS_BASELINE")
1919  ("Reset the secondary drs baseline (e.g. to change roi)");
1920 
1921  T::AddEvent("LOAD_DRS_CALIBRATION", "C")
1922  (bind(&StateMachineFAD::LoadDrsCalibration, this, placeholders::_1))
1923  ("Load a DRS calibration file"
1924  "|absolute path");
1925 
1926 
1927  // --------- Setup compression of FITS files -----------
1928  T::AddEvent("SET_ZFITS_DEFAULT_NUM_THREADS", "S")
1929  (bind(&StateMachineFAD::SetupZFits, this, placeholders::_1, zofits::DefaultNumThreads))
1930  ("Set the number of compression threads to use (+1 for writing)"
1931  "|num[int]:Number of threads");
1932  T::AddEvent("SET_ZFITS_DEFAULT_MAX_MEMORY", "S")
1933  (bind(&StateMachineFAD::SetupZFits, this, placeholders::_1, zofits::DefaultMaxMemory))
1934  ("Set the maximum amount of memory zfits will use for compression"
1935  "|mem[int]:Memory in MB");
1936  T::AddEvent("SET_ZFITS_DEFAULT_NUM_TILES", "S")
1937  (bind(&StateMachineFAD::SetupZFits, this, placeholders::_1, zofits::DefaultMaxNumTiles))
1938  ("Set the number of tiles with which the catalog is initialized"
1939  "|num[int]:Number of tiles");
1940  T::AddEvent("SET_ZFITS_DEFAULT_ROWS_PER_TILE", "S")
1941  (bind(&StateMachineFAD::SetupZFits, this, placeholders::_1, zofits::DefaultNumRowsPerTile))
1942  ("Set the number of rows which are compressed into one tile"
1943  "|num[int]:Number of rows per tile");
1944 
1945 
1946  T::AddEvent("ADD_ADDRESS", "C", FAD::State::kOffline)
1947  (bind(&StateMachineFAD::AddAddress, this, placeholders::_1))
1948  ("Add the address of a DRS4 board to the first free slot"
1949  "|IP[string]:address in the format <address:port>");
1950  T::AddEvent("REMOVE_SLOT", "S:1", FAD::State::kOffline)
1951  (bind(&StateMachineFAD::RemoveSlot, this, placeholders::_1))
1952  ("Remove the Iaddress in slot n. For a list see LIST"
1953  "|slot[short]:Remove the address in slot n from the list");
1954  T::AddEvent("LIST_SLOTS")
1955  (bind(&StateMachineFAD::ListSlots, this))
1956  ("Print a list of all available board addressesa and whether they are enabled");
1957  }
int StartConnection()
Definition: fadctrl.cc:1276
int StartDrsCalibration()
Definition: fadctrl.cc:862
int StopConnection()
Definition: fadctrl.cc:1289
int SendTriggers(const EventImp &evt)
Definition: fadctrl.cc:719
int SetDac(const EventImp &evt)
Definition: fadctrl.cc:691
int SendCmd(const EventImp &evt)
Definition: fadctrl.cc:581
int SetMaxMemoryBuffer(const EventImp &evt)
Definition: fadctrl.cc:794
EventBuilderWrapper(MessageImp &imp)
int CloseOpenFiles()
Definition: fadctrl.cc:1234
int SendCmdData(const EventImp &evt)
Definition: fadctrl.cc:598
vector< uint8_t > fStatus1
Definition: fadctrl.cc:1395
int SetIgnoreSlots(const EventImp &evt)
Definition: fadctrl.cc:1021
int SetBlockTransmissionRange(const EventImp &evt)
Definition: fadctrl.cc:985
int ResetSecondaryDrsBaseline()
Definition: fadctrl.cc:868
int SetDataOutput(const EventImp &evt)
Definition: fadctrl.cc:914
static uint32_t DefaultMaxMemory(const uint32_t &_n=0)
Definition: zofits.h:93
int CmdEnable(const EventImp &evt, FAD::Enable command)
Definition: fadctrl.cc:623
int ToggleSlot(const EventImp &evt)
Definition: fadctrl.cc:1257
int SetHexOutput(const EventImp &evt)
Definition: fadctrl.cc:903
static uint32_t DefaultMaxNumTiles(const uint32_t &_n=0)
Definition: zofits.h:94
int SetIgnoreSlot(const EventImp &evt)
Definition: fadctrl.cc:1003
static uint32_t DefaultNumThreads(const uint32_t &_n=-2)
static setter for the default number of threads to use. -1 means all available physical cores ...
Definition: zofits.h:92
void SetOutputFormat(FAD::FileFormat_t f)
int Cmd(FAD::Enable command)
Definition: fadctrl.cc:573
int Reset(bool soft)
Definition: fadctrl.cc:1303
int AddAddress(const EventImp &evt)
Definition: fadctrl.cc:1117
int LoadDrsCalibration(const EventImp &evt)
Definition: fadctrl.cc:874
DimDescribedService fDimStartRun
Definition: fadctrl.cc:1642
int SetBlockTransmission(const EventImp &evt)
Definition: fadctrl.cc:971
int SetupZFits(const EventImp &evt, const std::function< void(int32_t)> &func)
Definition: fadctrl.cc:1311
int PrintEvent(const EventImp &evt)
Definition: fadctrl.cc:949
int SetTriggerRate(const EventImp &evt)
Definition: fadctrl.cc:751
int SetRunNumber(const EventImp &evt)
Definition: fadctrl.cc:770
int SetRegister(const EventImp &evt)
Definition: fadctrl.cc:655
int ResetConfig()
Definition: fadctrl.cc:1103
int SetEventTimeoutSec(const EventImp &evt)
Definition: fadctrl.cc:814
int SetVerbosity(const EventImp &evt)
Definition: fadctrl.cc:892
static uint32_t DefaultNumRowsPerTile(const uint32_t &_n=0)
Definition: zofits.h:95
int SetFileFormat(const EventImp &evt)
Definition: fadctrl.cc:834
DimDescribedService fDimConnection
Definition: fadctrl.cc:1643
int PhaseShift(const EventImp &evt)
Definition: fadctrl.cc:740
vector< uint8_t > fStatus2
Definition: fadctrl.cc:1396
int RemoveSlot(const EventImp &evt)
Definition: fadctrl.cc:1139
int EnableSlot(const EventImp &evt, bool enable)
Definition: fadctrl.cc:1240
int SetRoi(const EventImp &evt)
Definition: fadctrl.cc:671
int SetDebugTx(const EventImp &evt)
Definition: fadctrl.cc:925
int Trigger(int n)
Definition: fadctrl.cc:710
int AbortConnection()
Definition: fadctrl.cc:1296
int StartConfigure(const EventImp &evt)
Definition: fadctrl.cc:1041

+ Here is the call graph for this function: