#include <SctApi.h>
Inheritance diagram for SctApi::SctApi:
Public Member Functions | |
SctApi (const Idiosyncrasy &) | |
Default to local xmlConfig. | |
SctApi (const Idiosyncrasy &, boost::shared_ptr< SctConfiguration::Configuration > newConf) | |
Specify configuration. | |
const Idiosyncrasy & | idiosyncrasy () |
Method to allow others to see what makes us "special" in comparison to allthe other crate controllers. | |
const Sct::UCID & | ucid () const |
const std::string | getHostName () const |
void | setMrsStream (MRSStream *stream) |
C++ only method to tell a MRS aware program where to write to. | |
void | setIsDictionary () |
C++ only method to tell a IS aware program to go and look up the dictionary which will tell it where to write to. | |
void | initialiseAll (int run) |
Initialise the crates and create the Rod/Vme objects. | |
bool | isInitialised () |
returns the status of the initialisation during the initialisation. | |
void | shutdownAll () |
Leave everything in a suitable state and delete all the objects. | |
void | setRunNumber (UINT32 newRun) |
IPC: Don't do during a scan. | |
void | setScanNumber (UINT32 newScan) |
IPC: Don't do during a scan. | |
UINT32 | getRunNumber () |
IPC: Don't do during a scan. | |
UINT32 | getScanNumber () |
IPC: Don't do during a scan. | |
bool | isRODPresent (unsigned int rod) |
Return true if ROD can accept commands (Doesn't go so far as to access ROD hardware). | |
bool | changeRunMode (enum RunType mode) |
Change to physics/calibration mode. | |
bool | changeEventFormat (enum EventFormatType format) |
Change the event format produced by the formatters. | |
void | startupModules () |
DDC: Check modules in configurable state. | |
ModuleList | getModuleList () |
Return list of configured modules. | |
void | loadConfiguration () |
IPC: Don't do during a scan Conf: Definite interaction! | |
void | loadConfiguration (std::string filename) |
IPC: Don't do during a scan Conf: Definite interaction! | |
int | loadModuleConfigurations () |
Return number of module loaded. | |
void | storeModuleConfigurations (BankType bank) |
IPC: Don't do during a scan Conf: Definite interaction! | |
void | storeBOCConfigurations () |
IPC: Don't do during a scan Conf: Definite interaction! | |
void | configureBOC (unsigned int rod) |
IPC: Don't do during a scan Conf: Definite interaction! | |
std::vector< double > | getBOCMonitorArray (unsigned int rod) |
IPC: Should be OK during scan, only reads from BOC Conf: Nothing. | |
int | awaitResponse (unsigned int rod, int timeout) |
IPC: Allow during a scan (only expert mode) Conf: no interaction! | |
int | awaitResponseAll (int timeout) |
IPC: Allow during a scan (only expert mode) Conf: no interaction! | |
unsigned long * | getResponse (unsigned int rod, unsigned long &length) |
(No interaction with VME) IPC: Allow during a scan (only expert mode) Conf: No interaction! | |
bool | getRodMessage (unsigned int rod, char *buffer, unsigned long &length) |
Get a message in the text buffer. | |
void | flashLED (unsigned int rod, long slaveNumber, long period=1000, long flashes=10) |
This creates its own primitive list and sends it to a slave DSP on the ROD. | |
void | echo (unsigned int rod, unsigned int length, const unsigned long *data) |
IPC: Possible during a scan? Conf: No interaction. | |
void | echoAll (unsigned int length, const unsigned long *data) |
IPC: Possible during a scan? Conf: No interaction. | |
void | echoSlave (unsigned int rod, unsigned int slave, unsigned int length, const unsigned long *data) |
IPC: Possible during a scan? Conf: No interaction. | |
int | dspBlockDump (unsigned int rod, long dspStart, long numWords, long dspNumber, bool usePrim=true) |
Dump contents of a block of DSP memory to cout. | |
int | dspBlockDumpFile (unsigned int rod, long dspStart, long numWords, long dspNumber, std::string filename, bool usePrim=true) |
Dump contents of a block of DSP memory to a file. | |
void | standardRegisterDump (RodLabel rl) |
Dump to ${tempDir}/Dump_05d. | |
void | standardRegisterDump (unsigned int rod) |
Dump to ${tempDir}/Dump_05d. | |
void | standardRegisterDumpAll () |
Dump to ${tempDir}/Dump_05d RODs sent to consecutive d. | |
unsigned long * | dspBlockRead (unsigned int rod, long dspStart, long numWords, long dspNumber, unsigned long &length, bool usePrim=true) |
Use dspNumber -1 to refer to the master DSP. | |
int | dspBlockWrite (unsigned int rod, unsigned long *buffer, unsigned long dspAddress, long numWords, long dspNumber, bool usePrim=true) |
Use dspNumber -1 to refer to the master DSP. | |
unsigned long | dspSingleBlockRead (unsigned int rod, long dspStart, long dspNumber) |
Same prototype as dspSingleRead but safer (for slave DSPs). | |
void | dspSingleBlockWrite (unsigned int rod, unsigned long dspAddress, unsigned long val, long dspNumber) |
Same prototype as dspSingleWrite but safer (for slave DSPs). | |
unsigned long * | primReadSlaveDsp (unsigned int rod, int s, int add, int words) |
Don't use if important to preserve primitive state! | |
void | primWriteSlaveDsp (unsigned int rod, int s, int add, int numWords, unsigned long *data) |
Don't use if important to preserve primitive state! | |
void | writeSlaveFile (unsigned int rod, unsigned int slave, std::string fileName, unsigned long address, bool usePrim=true) |
void | startSlave (unsigned int rod, unsigned int slave) |
Send the start slave primitive to a DSP. | |
boost::shared_array< unsigned long > | loadFile (std::string filename, unsigned long &length) |
Get block of memory from file. | |
unsigned long | readRodStatusReg (unsigned int rod, long regNumber) |
IPC: Immediate response Conf: No interaction. | |
unsigned long | readRodCommandReg (unsigned int rod, long regNumber) |
IPC: Immediate response Conf: No interaction. | |
unsigned long | dspSingleRead (unsigned int rod, const unsigned long dspAddr, long dspNumber) |
IPC: Immediate response Conf: No interaction. | |
void | dspSingleWrite (unsigned int rod, unsigned long dspAddr, unsigned long value, long dspNumber) |
IPC: Immediate response (expert only) Conf: No interaction. | |
ABCDModule * | retrieveModule (UINT32 mid) |
Module data as cached from Configuration. | |
void | createDebugPrimList () |
IPC: Immediate response (expert) Conf: No Interaction. | |
void | addDebugPrimList (unsigned long length, long index, long id, long version, unsigned long *body) |
IPC: Immediate response (expert) Conf: No Interaction. | |
void | sendDebugPrimList (unsigned int rod) |
IPC: Immediate response (expert) Conf: No Interaction. | |
void | sendDebugPrimListAll () |
IPC: Immediate response (expert) Conf: No Interaction. | |
void | sendDebugSlavePrimList (unsigned int rod, unsigned int slave, bool await, bool response) |
Send the previously created prim list to a slave dsp. | |
void | debugPrimListFromFile (std::string fileName) |
This doesn't check the primlist checksum (but slave lists will need the correct sum). | |
void | dumpDebugPrimList () |
Perform a binary dump of the debug prim list. | |
const std::list< RodLabel > | listRods () const |
Return a list of the RODs that have been configured. | |
UINT32 | findModule (std::string sn) |
std::string | convertToString (UINT32 mid) |
IPC: Immediate response Conf: Lookup. | |
UINT32 | findModule (INT32 mur, INT32 module) |
IPC: Immediate response Conf: Lookup. | |
std::pair< INT32, INT32 > | convertToMUR (UINT32 mid) |
IPC: Immediate response Conf: Lookup. | |
UINT32 | findBarrelModule (INT32 barrel, INT32 row, INT32 number) |
IPC: Immediate response Conf: Lookup. | |
void | convertToBarrelModule (UINT32 mid, UINT32 &barrel, UINT32 &row, int &number) |
IPC: Immediate response Conf: Lookup. | |
UINT32 | findEndcapModule (INT32 disk, INT32 quadrant, INT32 number) |
IPC: Immediate response Conf: Lookup. | |
void | convertToEndcapModule (UINT32 mid, INT32 &disk, UINT32 &quadrant, UINT32 &number) |
IPC: Immediate response Conf: Lookup. | |
void | getABCDModules (BankType bank) |
IPC: Immediate response Conf: Lookup LocalCache: Yes. | |
virtual void | getABCDModule (UINT32 mid, BankType bank) |
IPC: Immediate response Conf: Lookup LocalCache: Yes. | |
virtual boost::shared_ptr< ABCDModule > | getABCDModuleRaw (unsigned int rod, UINT32 slot, BankType bank) |
IPC: Immediate response Conf: Lookup LocalCache: No. | |
virtual void | setABCDModules (std::list< BankType > bank) |
IPC: Don't do during scan Conf: Possible cache LocalCache: Yes. | |
virtual void | setABCDModule (UINT32 mid, std::list< BankType > banks) |
IPC: Don't do during scan Conf: Possible cache LocalCache: Yes. | |
virtual void | copyABCDModule (UINT32 mid, BankType from, std::list< BankType > to) |
Do internal ROD copy of its banks. | |
virtual void | copyABCDModules (BankType from, std::list< BankType > to) |
Do internal ROD copy of its banks - all modules. | |
virtual void | sendAllABCDModules (BankType bank, ConfigType type=SCTAPI_CONFIG_ALL, const bool enableDataMode=true) |
virtual void | sendABCDModule (UINT32 mid, BankType bank, ConfigType type=SCTAPI_CONFIG_ALL, const bool enableDataMode=true) |
void | modifyABCDMask (UINT32 mid, UINT32 *mask) |
Set the channel mask of all chips in a module. | |
void | modifyABCDTrims (UINT32 mid, UINT8 *trims) |
Modify a module's trim configuration. | |
void | setAutoUpdateBanks (std::list< BankType > banks) |
List of banks to be kept up to date with. | |
void | modifyABCDVar (UINT32 typ, FLOAT32 var) |
IPC: Not during scan Conf: No communication. | |
void | modifyABCDVar (UINT32 mid, UINT32 typ, FLOAT32 var) |
IPC: Not during scan Conf: No communication. | |
void | modifyABCDVar (UINT32 mid, UINT32 chip, UINT32 typ, FLOAT32 var) |
IPC: Not during scan Conf: No communication. | |
void | modifyABCDVarAllModulesOneChip (UINT32 chip, UINT32 typ, FLOAT32 var) |
modify a variable on one chip, but all modules | |
void | modifyABCDVarROD (UINT32 mid, UINT32 chip, UINT32 typ, FLOAT32 var, std::list< BankType > banks) |
IPC: Not during scan Conf: No communication. | |
void | modifyABCDVarROD (UINT32 mid, UINT32 typ, FLOAT32 var, std::list< BankType > banks) |
IPC: Not during scan Conf: No communication. | |
void | modifyABCDVarROD (UINT32 type, FLOAT32 value, std::list< BankType > banks) |
IPC: Not during scan Conf: No communication. | |
void | modifyABCDRC (UINT32 mid, UINT32 chip, UINT16 function, FLOAT32 p0, FLOAT32 p1, FLOAT32 p2) |
IPC: Not during scan Conf: No communication. | |
void | modifyTIMParam (unsigned int param, unsigned int value) |
modify a TIM parameter. | |
void | modifyBOCParam (unsigned int rod, unsigned int channel, unsigned int type, unsigned int val) |
IPC: Not during scan Conf: No communication. | |
void | modifyBOCParam (unsigned int type, unsigned int val) |
IPC: Not during scan Conf: No communication. | |
void | printBOCSetup (unsigned int rod) |
IPC: Immediate response Conf: No communication. | |
std::vector< SctConfiguration::BOCChannelConfig > | currentBOCSetup (unsigned int rod) |
IPC: Immediate response (Needs results by IPC) Conf: No communication. | |
void | printBOCRegisters (unsigned int rod) |
IPC: Immediate response Conf: No communication. | |
SctConfiguration::BOCGlobalConfig | currentBOCRegisters (unsigned int rod) |
IPC: Immediate response (Needs results by IPC) Conf: No communication. | |
void | saveBOCSetup (unsigned int rod, BankType bank) |
Save BOC setup. | |
void | saveBOCRegisters (unsigned int rod, BankType bank) |
Save BOC registers. | |
void | restoreBOCSetup (unsigned int rod, BankType bank) |
Response BOC setup. | |
void | restoreBOCRegisters (unsigned int rod, BankType bank) |
Restore BOC registers. | |
void | lasersOff () |
IPC: Immediate response Conf: No communication. | |
void | setErrorMasks () |
put all EFB error masks to their cached values | |
void | timSetFrequency (double trigFreq, double rstFreq) |
Freq is approximated by divider circuit Available frequencies are 600, 60, 6, 0.6 kHz Divided by: 1, 2, 3, 4, 5, 6, (10, 12). | |
double | timGetTriggerFrequency () |
get trigger frequency (kHz) | |
double | timGetResetFrequency () |
get reset frequency (Hz) | |
void | freeTriggers () |
IPC: Not during scan Conf: No communication. | |
void | stopTriggers () |
IPC: Not during scan Conf: No communication. | |
void | timL1A () |
IPC: Not during scan Conf: No communication. | |
void | timCalL1A (int delay) |
IPC: Not during scan Conf: No communication. | |
void | timSoftReset () |
IPC: Not during scan Conf: No communication. | |
void | timBCReset () |
IPC: Not during scan Conf: No communication. | |
void | timLoadSequence (const std::vector< unsigned > &seq) |
load a tim sequence - see Crate for detail | |
unsigned long | timRunSequence (unsigned long ntrigs, int random, bool external=false) |
run the tim sequence | |
unsigned long | sendTimBurst (unsigned long count, int random, bool external=false) |
Send burst of triggers to TIM. | |
void | timVerbose () |
Print all TIM registers to stdout. | |
void | timWriteRegister (int reg, UINT16 val) |
UINT16 | timReadRegister (int reg) |
std::string | status () |
IPC: Immediate response (sane in all eventualities!) Conf: No communication. | |
void | defaultScan (int type) |
IPC: Not during any other scan Conf: No communication. | |
void | doScan (boost::shared_ptr< const Scan > scan) |
DDC: Check modules configured. | |
boost::shared_ptr< ScanMonitor > | startAsyncScan (boost::shared_ptr< const Scan > scan) |
DDC: Check modules configured. | |
boost::shared_ptr< ScanControl > | startScan (boost::shared_ptr< const Scan > scan, bool pollTriggers) |
DDC: Check modules configured. | |
void | validateScan (boost::shared_ptr< const Scan > scan) |
Check that a scan is ok to run. | |
bool | hasFinishedScanning () |
Used to determine whether or not SctApi is busy. See also "SctApi::unsetBusy()". | |
const std::string & | nameOfScanStatusObject () |
void | awaitScan () |
Await completion of a scan (alternative to checking IS running entry). | |
void | abortScan () |
Abort any long term activity. | |
void | doRawScan (boost::shared_ptr< Scan > scan, int delay, int width, bool configureModules=false, bool clkBy2=false) |
IPC: Not during any other scan Conf: Lookup. | |
void | sendRodTrigger (unsigned int rod, const Trigger *trig, long unsigned count, int scan_point=0) |
IPC: Not during any other scan Conf: No communication. | |
unsigned long | sendTriggers (const Trigger *trig, unsigned long count, int scan_point=0) |
Send lots of triggers: frequency and source worked out from trigger. | |
void | printABCDModule (int mid) |
Uses the sctConf method. | |
void | printABCDRodModule (int mid, BankType bank) |
First retrieve the configuration from the ROD Uses the sctConf method. | |
void | decodeEvent (unsigned int rod, int sl, int index, bool extFlag=false, bool errorType=false) |
IPC: Needs feedback, immediate response Conf: No Communication. | |
void | scanEvents (unsigned int rod, int sl, bool extFlag, bool errorType) |
IPC: Needs feedback, immediate response Conf: No Communication. | |
void | reportEventErrors () |
Suggest problems with modules based on events in event buffer. | |
void | decodeConfig (unsigned int rod, bool skipTrim=false, bool bypass=false) |
Decode config bit stream (only valid after SEND_CONFIG). | |
void | rawData (unsigned int rod, int delay, int units, bool setMask=true, const Trigger *trig=0) |
IPC: Needs feedback, immediate response Conf: No Communication. | |
void | sendL1A (unsigned int rod, bool capture=false) |
The mask is unchanged in this function and it is set up to go to all modules. | |
std::vector< char > | probe (unsigned int rod, signed int harness=-1) |
Do quick scan of channels Recognises all the same, clock by 2 and an event header Return a char for each link examined 0 All zero's 1 All one's 2 Clock by 2 4 Clock by 4 L L1A E Event Header S Soft Reset B BC Reset J Junk (ie anything else). | |
std::vector< char > | probeWithTrigger (unsigned int rod, const Trigger *trigger, signed int harness=-1) |
Do quick scan of channels Recognises all the same, clock by 2 and an event header Return a char for each link examined 0 All zero's 1 All one's 2 Clock by 2 4 Clock by 4 L L1A E Event Header S Soft Reset B BC Reset {b,a,d, ,c,r,a,t,e} : Nothing can be returned -- no such crate! (only relevant over top level ipc) J Junk (ie anything else). | |
std::vector< std::vector< char > > | probeScan (unsigned int rod, boost::shared_ptr< Scan > scan, signed int harness=-1) |
Scan over a variable and perform a probe for each. | |
bool | checkAllModulesProbe (std::string value) |
Probe all modules and check that value returned by probe is one of the characters specified. | |
void | autoConfigure () |
Suggest values for configuration. | |
void | bocHistogram (unsigned int rod, unsigned int samples, unsigned int numLoops) |
Run the ROD "BOC histogram" primitive. | |
SctApiDDC * | getSctApiDDC () const |
void | tidyHistogramming () |
Stop all tasks to do with histogramming. | |
long | getRodSlot (unsigned int rod) |
Return slot this ROD is in. | |
int | getRodRevision (unsigned int rod) |
Return the revision of a ROD. | |
int | getRodRevision (const RodLabel &label) |
Return the revision of a ROD. | |
void | testLinkOutSelect (unsigned int rod, unsigned int link) |
Select link to send to ROD front panel LEMO. | |
unsigned int | testLinkOutRetrieve (unsigned int rod) |
Return selected link to send to ROD front panel LEMO. | |
void | unsetDebugOption (std::string opt) |
Disable a debug option. | |
void | setDebugOption (std::string opt) |
Enable a debug option. | |
std::list< std::string > | listEnabledDebugOptions () const |
Get the currently enabled debug options. | |
std::vector< std::string > | listDebugOptions () const |
List possible debug options. | |
void | unsetBusy () |
For use in emergency situations only (not as a matter of course) use unsetBusy() to override SctApi's present busy state and ask it to appear "not busy" to the outside world. | |
void | debugStepHistogram () |
Perform a step in a histogram which is in a stalled state. | |
void | debugContinueHistogram () |
Continue a histogram which was previously stalled. | |
void | debugAbortHistogram () |
Try to abort the current histogram. | |
void | eventTrapSetup (int slaveMask, int trapMatch, int trapMod, int trapRemain, bool tim, bool error, boost::shared_ptr< PrimListWrapper > primList) |
Setup event trapping. | |
void | startEventTrap (int slave, boost::shared_ptr< PrimListWrapper > primList) |
Start event trap on a slave. | |
void | stopEventTrap (int slave, boost::shared_ptr< PrimListWrapper > primList) |
Stop event trap on a slave. | |
void | rodMode (unsigned int rod, int mode, int flag, int fifoSetup, int nBins, int delay, int message) |
Direct write of ROD mode! | |
void | setupModuleMask (unsigned int rod, int port, int slvs) |
Set module masks. | |
void | setupModuleMask (int port, int slvs, boost::shared_ptr< PrimListWrapper > list) |
Add set module masks command to primitive list. | |
std::pair< UINT32, UINT32 > | sendData (unsigned int rod, int type, int dsp) |
Send a SEND_DATA primitive and retrieve the (pointer, length) result. | |
void | resumePolling () |
Resume the primitive polling thread. | |
void | stopPolling () |
Pause the primitive polling thread. | |
void | print_calib (unsigned int rod) |
Print ROD calibration registers. | |
int | synchSendPrimListAll (boost::shared_ptr< PrimListWrapper > primList, int timeout=10) |
A helper function for other methods in this class, to be used only internally to this class as it exposes the RodPrimList class. | |
void | stopHistogramming (const ScanEx &ex) |
Stop the histogramming and event trapping tasks. | |
void | setSlaveBlock (unsigned int rod, int s, long sAdd, int words, long value=0, bool usePrim=true) |
Set block of slave memory to value (using RW_SLAVE_MEMORY). | |
void | writeRODRegister (unsigned int rod, int reg, int off, int width, int value) |
Write to a ROD register. | |
unsigned int | readRODRegister (unsigned int rod, int r) |
Read a register from the ROD. | |
int | pollRegister (unsigned int rod, int r, int off, int width, int val, int timeout=1000000) |
Poll a register. | |
virtual unsigned long * | readFifo (unsigned int rod, int id, int bank, int elems) |
void | startHistogramTask (const Scan &scan, const ScanEx &ex, const RodLabel, unsigned int startBin, unsigned int nBins, unsigned int nTrigs, boost::shared_ptr< PrimListWrapper > list) |
Create histogram task primitive. | |
void | sendPrimList (unsigned int rod, boost::shared_ptr< PrimListWrapper > prim) |
A helper function for other methods in this class, to be used only internally to this class as it exposes the RodPrimList class. | |
int | synchSendPrimList (unsigned int rod, boost::shared_ptr< PrimListWrapper > primList, int timeout=10) |
A helper function for other methods in this class, to be used only internally to this class as it exposes the RodPrimList class. | |
SctApiConfigCache & | getModuleConfigCache () |
needed by ScanControl to update the cache to the last point in the scan. | |
unsigned | preloadModuleConfigurations () |
bool | checkDebugOption (std::string opt) const |
bool | checkDebugOption (int opt) const |
Data Fields | |
MRSStream * | mrs |
boost::shared_ptr< ISInfoDictionary > | m_isDict |
volatile bool | m_preloadModuleConfigurationsStop |
Static Public Attributes | |
static const unsigned int | BAD_MODULE |
The constant returned as an unknown module. | |
Protected Member Functions | |
virtual void | really_setABCDModule (UINT32 mid, std::list< BankType > banks, UINT32 api_cfg_bits) |
version of setABCDModule which will not look at the crate controller's local cache but will actually set it to the ROD. | |
virtual void | really_getABCDModule (UINT32 mid, BankType bank) |
version of getABCDModule which will not look at the crate controller's local cache but will actually get it from the ROD | |
virtual int | initialiseRod (unsigned int rod) |
Proxy for Crate. | |
virtual int | initialiseModule (std::string module, bool toRod=true) |
Load module configuration from database Send module configuration to ROD (unless toRod is set to false). | |
ABCDModule * | lookupConfig (UINT32 mid) |
Lookup module configuration in the cache. | |
virtual bool | preScanHardwareCheck (const Scan &scan, ScanEx &extra) |
Perform necessary hardware checks before a scan. | |
virtual void | doHistogramSetup (const Scan &scan, const ScanEx &extra) |
UINT32 * | readEventBuffer (unsigned int rod, int sl, bool extFlag, bool errorType) |
IPC: Needs feedback, immediate response Conf: No Communication. | |
int | getLastEventFrame (unsigned int rod, int slave) |
Return the frame in which the last event starts. | |
virtual int | pollHistogramming (boost::shared_ptr< ScanControl > controller, int timeout=5) |
Wait for the number of bins to equal (bins - 1) on all master dsps involved in the scan. | |
void | scanLoop () |
void | scanPollingThread () |
void | initialisationThread () |
void | addRodToList (RodLabel newRod) |
RodInfo & | getRodInfo (const RodLabel &l) |
Protected Attributes | |
std::list< RodLabel > | rodList |
List all the RODs. | |
std::map< RodLabel, RodInfo > | rodInfoList |
List them again, but with additional info... | |
boost::recursive_mutex | rodInfoListAccess |
std::map< UINT32, ABCDModule > | moduleMap |
Cache of module configurations. | |
boost::mutex | moduleMapAccess |
Controls access to module configurations during initialisation. | |
boost::shared_ptr< ScanControl > | scanController |
boost::shared_ptr< ScanControl > | lastScanController |
Private Member Functions | |
SctApi (const SctApi &) | |
SctApi & | operator= (const SctApi &) |
void | setup () |
This sets the unexpected handler to interpret all sorts of exceptions. | |
void | dumpPrimList (boost::shared_ptr< PrimListWrapper > prim) |
If requested, dump prim list to file and/or log to output. | |
void | dumpRawEvent (unsigned int rod, int units, unsigned long *bufferA, unsigned long *bufferB) |
Save raw event to file. | |
unsigned int | prt () const |
unsigned int | crt () const |
Sct::URID | localRod (const Sct::RodIdentifier rod) const |
void | doRawScanThreadInnards (boost::shared_ptr< Scan > scan, int delay, int width, bool configureModules, bool clkBy2) |
Called by doRawScanThread. | |
void | doRawScanThread (boost::shared_ptr< Scan > scan, int delay, int width, bool configureModules, bool clkBy2) |
Called by doRawScan. | |
void | sendSlavePrimList (unsigned int rod, boost::shared_ptr< PrimListWrapper > prim, unsigned int slave, bool await, bool response) |
Send a RodPrimList to the Master DSP which contains the RodPrimList which is passed as an argument. | |
void | sendPrimListAll (boost::shared_ptr< PrimListWrapper > prim) |
A helper function for other methods in this class, to be used only internally to this class as it exposes the RodPrimList class. | |
void | setupEventTrapping (const Scan &scan, const ScanEx &ex, const RodLabel, boost::shared_ptr< PrimListWrapper > list) |
Setup event trapping according to scan and ex. | |
void | startEventTrapping (const Scan &scan, const ScanEx &ex, const RodLabel, boost::shared_ptr< PrimListWrapper > primList) |
Start event trapping according to scan and ex. | |
void | setupEventDump (const Scan &scan, const ScanEx &ex, const RodLabel, boost::shared_ptr< PrimListWrapper > list) |
Setup an event dump according to scan and ex. | |
void | setupHistogramming (const Scan &scan, const ScanEx &ex, const RodLabel, bool tim, boost::shared_ptr< PrimListWrapper > list) |
Setup histogramming according to scan and ex. | |
void | calib_init () |
Setup ROD for calibration. | |
void | readRawData (unsigned int rod, int delay, bool setMask) |
Read raw data from all links into one "histogram". | |
virtual int | setupRawData (unsigned int rod, int delay, int units, bool setMask, const Trigger *trig=0) |
Put raw data into FIFOs ready to read out. | |
Crate * | getCrate () const |
Lookup the Crate object to send instructions to. | |
void | cacheModuleConfig (UINT32 mid, std::string name="") |
Put module mid into the cache (if present in the configuration). | |
void | getrpcrc (UINT32 mid, unsigned int &rpartition, unsigned int &rcrate, unsigned int &rrod, unsigned &rchannel) |
XXX What does it do on failure!!! | |
void | setupScanMasks (ScanEx &extra, int distSlave, bool dual) |
Setup module, dsp masks etc. | |
bool | checkModuleListsForScan () |
Return whether check passed. | |
void | preScanModuleSetup (const Scan &scan) |
Needs scan to know whether to set formatters into expanded mode. | |
void | insertISStats () |
Insert SctApiCounters into IS. | |
void | updateISStats () |
Update the IS version of SctApiCounters. | |
Log & | log () |
Private Attributes | |
boost::shared_ptr< Idiosyncrasy > | m_id |
This Idiosyncrasy is what makes us different from every other crate controller. | |
boost::shared_ptr< SctConfiguration::Configuration > | config |
The configuration database. | |
boost::shared_ptr< DCSAccess > | m_dcsAccess |
boost::shared_ptr< SctApiDDC > | m_sctApiDDC |
boost::shared_ptr< PrimListWrapper > | debugPrimList |
The current debug primitive list. | |
boost::shared_ptr< Crate > | crateObject |
Map to retrieve crate objects. | |
boost::shared_ptr< Log > | m_log |
Log everything that is called. | |
boost::shared_ptr< const Scan > | lastDebugScan |
For debug only, save the scan information. | |
boost::shared_ptr< const ScanEx > | lastDebugScanEx |
UINT32 | scanNumber |
Current scan number. | |
UINT32 | runNumber |
Current run number. | |
RunType | currentRunMode |
Current run mode. | |
std::list< BankType > | m_autoUpdateBanks |
list of banks to automatically update on ROD | |
boost::condition | scanQueue_notEmpty |
boost::mutex | scanQueue_mutex |
std::auto_ptr< boost::thread > | scanPollThread |
bool | m_stopPolling |
bool | m_inScanLoop |
bool | m_inRawScanLoop |
std::auto_ptr< boost::thread > | m_initialisationThread |
initialisation threads | |
bool | m_is_initialised |
SctApiConfigCache | module_cache |
configuration cache |
This is the API used by the rest of the world to interact with SCT Modules using RODs.
Functionality that should be included in this class includes.
Modules are referred to by an "mid" which is a 32bit number packed in hex as PPCCRRCH where: PP is the partition CC is the crate RR is the ROD CH is the ROD channel
DAQ run level transitions: Boot Load and run the crate controller (Done automatically in DAQ-1 from configuration) Load Load config? Config Send config to Modules Start Mode for execution of scans
Configuration: loading from file loading to modules fine grained control on modules recovering module configuration from the ROD Save configuration
Reconfiguring from new configuration file
Scanning: perform scans over configuration variable(s)
DCS: minimal DCS communication
ROD diagnostics: Flash LEDs Text buffer retrieval Memory dumps Send arbitrary primitives to a single ROD
Indexing: There are several ways of addressing a ROD or module the canonical method is partition, crate, rod, module
Other methods include: Geographical: barrel/disc MUR, number MUR: Partition, MUR, number
Definition at line 112 of file SctApi.h.
|
Default to local xmlConfig.
|
|
Specify configuration.
|
|
Abort any long term activity. Unimplemented DDC: No action IPC: Immediate response Conf: No communication |
|
IPC: Immediate response (expert) Conf: No Interaction.
Referenced by TApi::addDebugPrimList(). |
|
Suggest values for configuration. 1) Perform probe scan of tx channels and interpret giving connections of modules to tx channels |
|
IPC: Allow during a scan (only expert mode) Conf: no interaction!
Referenced by TApi::awaitResponse(), and SctApi::ScanControlRODHisto::nextBin(). |
|
IPC: Allow during a scan (only expert mode) Conf: no interaction!
|
|
Await completion of a scan (alternative to checking IS running entry).
Referenced by TApi::awaitScan(). |
|
Run the ROD "BOC histogram" primitive.
Referenced by TApi::bocHistogram(). |
|
Put module mid into the cache (if present in the configuration).
|
|
Setup ROD for calibration.
|
|
Change the event format produced by the formatters.
|
|
Change to physics/calibration mode.
Referenced by TApi::changeRunMode(). |
|
Probe all modules and check that value returned by probe is one of the characters specified.
Referenced by TApi::checkAllModulesProbe(). |
|
Return whether check passed.
|
|
IPC: Don't do during a scan Conf: Definite interaction!
Referenced by TApi::configureBOC(). |
|
IPC: Immediate response Conf: Lookup.
|
|
IPC: Immediate response Conf: Lookup.
|
|
IPC: Immediate response Conf: Lookup.
|
|
IPC: Immediate response Conf: Lookup.
Referenced by SctApi::ScanControlRODHisto::readHistograms(). |
|
Do internal ROD copy of its banks.
Referenced by TApi::copyABCDModules(). |
|
Do internal ROD copy of its banks - all modules.
Referenced by TApi::copyABCDModules(). |
|
IPC: Immediate response (expert) Conf: No Interaction.
Referenced by TApi::createDebugPrimList(). |
|
IPC: Immediate response (Needs results by IPC) Conf: No communication.
|
|
IPC: Immediate response (Needs results by IPC) Conf: No communication.
Referenced by TApi::currentBOCSetup(). |
|
Try to abort the current histogram. This may not work. The DSP can be in a state where the abort signal is delayed in its interpretation Referenced by TApi::debugAbortHistogram(). |
|
Continue a histogram which was previously stalled. This only works if the histogram is at the end of a bin Referenced by TApi::debugContinueHistogram(). |
|
This doesn't check the primlist checksum (but slave lists will need the correct sum).
Referenced by TApi::debugPrimListFromFile(). |
|
Perform a step in a histogram which is in a stalled state.
Referenced by TApi::debugStepHistogram(). |
|
Decode config bit stream (only valid after SEND_CONFIG).
Referenced by TApi::decodeConfig(). |
|
IPC: Needs feedback, immediate response Conf: No Communication.
Referenced by TApi::decodeEvent(). |
|
IPC: Not during any other scan Conf: No communication.
Referenced by TApi::defaultScan(). |
|
IPC: Not during any other scan Conf: Lookup.
Referenced by TApi::doRawScan(). |
|
Called by doRawScan.
|
|
Called by doRawScanThread.
|
|
DDC: Check modules configured. .. Check select IPC: Not during any other scan Conf: Lookup Referenced by TApi::doScan(). |
|
Dump contents of a block of DSP memory to cout.
Referenced by TApi::dspBlockDump(). |
|
Dump contents of a block of DSP memory to a file. Use dspNumber -1 to refer to the master DSP.
Referenced by TApi::dspBlockDumpFile(). |
|
Use dspNumber -1 to refer to the master DSP. IPC: Possible during a scan Conf: No interaction Referenced by TApi::dspBlockRead(), SctApi::ScanControlRODHisto::dumpHistoStatus(), SctApi::ScanControlRODHisto::getProcTime(), and SctApi::ScanControlRODHisto::getTrapBuffers(). |
|
Use dspNumber -1 to refer to the master DSP. IPC: Possible during a scan Conf: No interaction Referenced by TApi::dspBlockWrite(). |
|
Same prototype as dspSingleRead but safer (for slave DSPs).
Referenced by SctApi::ScanControlRODHisto::finishHistogram(), and SctApi::ScanControlRODHisto::getEventCounter(). |
|
Same prototype as dspSingleWrite but safer (for slave DSPs).
Referenced by SctApi::ScanControlRODHisto::finishHistogram(). |
|
IPC: Immediate response Conf: No interaction.
Referenced by SctApi::ScanControlRODHisto::checkScanCompleteROD(), TApi::dspSingleRead(), SctApi::ScanControlRODHisto::dumpHistoStatus(), and SctApi::ScanControlRODHisto::getEventCounter(). |
|
IPC: Immediate response (expert only) Conf: No interaction.
Referenced by TApi::dspSingleWrite(). |
|
Perform a binary dump of the debug prim list.
Referenced by TApi::dumpDebugPrimList(). |
|
If requested, dump prim list to file and/or log to output.
|
|
Save raw event to file.
|
|
IPC: Possible during a scan? Conf: No interaction.
Referenced by TApi::echo(). |
|
IPC: Possible during a scan? Conf: No interaction.
Referenced by TApi::echoAll(). |
|
IPC: Possible during a scan? Conf: No interaction.
Referenced by TApi::echoSlave(). |
|
Setup event trapping. A reduced set of parameters compared to the primitive is used. |
|
IPC: Immediate response Conf: Lookup.
Referenced by TApi::findBarrelModule(). |
|
IPC: Immediate response Conf: Lookup.
Referenced by TApi::findEndcapModule(). |
|
IPC: Immediate response Conf: Lookup.
|
|
Referenced by TApi::findModule(), and SctApi::ScanControlRODHisto::readHistograms(). |
|
This creates its own primitive list and sends it to a slave DSP on the ROD.
Referenced by TApi::flashLED(). |
|
IPC: Not during scan Conf: No communication.
Referenced by TApi::freeTriggers(). |
|
IPC: Immediate response Conf: Lookup LocalCache: Yes.
Referenced by TApi::getABCDModule(). |
|
IPC: Immediate response Conf: Lookup LocalCache: No.
|
|
IPC: Immediate response Conf: Lookup LocalCache: Yes.
Referenced by TApi::getABCDModules(). |
|
IPC: Should be OK during scan, only reads from BOC Conf: Nothing.
|
|
Lookup the Crate object to send instructions to. Return 0 if not found. |
|
Return the frame in which the last event starts.
|
|
needed by ScanControl to update the cache to the last point in the scan.
Referenced by SctApi::ScanControlRODHisto::readHistogramData(). |
|
Return list of configured modules.
|
|
(No interaction with VME) IPC: Allow during a scan (only expert mode) Conf: No interaction!
Referenced by TApi::getResponse(). |
|
Get a message in the text buffer. Get a message from a ROD text buffer Returns whether the action was completed Referenced by TApi::getRodMessage(). |
|
Return the revision of a ROD.
|
|
|
Return slot this ROD is in.
|
|
XXX What does it do on failure!!!
|
|
IPC: Don't do during a scan.
|
|
IPC: Don't do during a scan.
|
|
Used to determine whether or not SctApi is busy. See also "SctApi::unsetBusy()".
|
|
Method to allow others to see what makes us "special" in comparison to allthe other crate controllers.
|
|
Initialise the crates and create the Rod/Vme objects. Load the system configuration from the database. Create crates and RODs as necessary. Calls initialiseRod and initialiseModule as necessary. Store the module configuration in the RODs (UNIMPLEMENTED) Return: 0 for success Possibly error code for failure IPC: Should block everything else - but you need to check initialisationStatus() to see how it is getting on. Referenced by TApi::initialiseAll(). |
|
Load module configuration from database Send module configuration to ROD (unless toRod is set to false). Return 0 for success |
|
Proxy for Crate. Return 0 for success |
|
Insert SctApiCounters into IS.
|
|
returns the status of the initialisation during the initialisation. To check if it is complete, use the bool Referenced by TApi::isInitialised(). |
|
Return true if ROD can accept commands (Doesn't go so far as to access ROD hardware).
|
|
IPC: Immediate response Conf: No communication.
Referenced by TApi::lasersOff(). |
|
List possible debug options. DDC: No action IPC: Class action, immediate response Conf: No communication Referenced by TApi::listDebugOptions(). |
|
Get the currently enabled debug options. DDC: No action IPC: Class action, immediate response Conf: No communication Referenced by TApi::listEnabledDebugOptions(). |
|
Return a list of the RODs that have been configured.
Referenced by TApi::listRods(), SctApi::ScanControlRODHisto::readHistograms(), and SctApi::AutoConf::AutoConfigurer::run(). |
|
IPC: Don't do during a scan Conf: Definite interaction!
|
|
IPC: Don't do during a scan Conf: Definite interaction!
Referenced by TApi::loadConfiguration(). |
|
Get block of memory from file.
|
|
Return number of module loaded.
Referenced by TApi::loadModuleConfigurations(). |
|
Lookup module configuration in the cache.
|
|
Set the channel mask of all chips in a module. IPC: Not during scan Conf: No communication Referenced by TApi::modifyABCDMask(). |
|
IPC: Not during scan Conf: No communication.
|
|
Modify a module's trim configuration. IPC: Not during scan Conf: No communication Referenced by TApi::modifyABCDTrims(). |
|
IPC: Not during scan Conf: No communication.
|
|
IPC: Not during scan Conf: No communication.
|
|
IPC: Not during scan Conf: No communication.
Referenced by TApi::modifyABCDVar(). |
|
modify a variable on one chip, but all modules
|
|
IPC: Not during scan Conf: No communication.
|
|
IPC: Not during scan Conf: No communication.
|
|
IPC: Not during scan Conf: No communication.
Referenced by TApi::modifyABCDVarROD(), SctApi::ScanControlAsyncHisto::nextBin(), and SctApi::ScanControlTIMHisto::nextBin(). |
|
IPC: Not during scan Conf: No communication.
|
|
IPC: Not during scan Conf: No communication.
Referenced by TApi::modifyBOCParam(), SctApi::ScanControlTIMHisto::nextBin(), and SctApi::AutoConf::AutoConfigurer::run(). |
|
modify a TIM parameter.
Referenced by SctApi::ScanControlTIMHisto::nextBin(). |
|
Wait for the number of bins to equal (bins - 1) on all master dsps involved in the scan. Then wait for the number of events on the slave to equal to events Timeout if the bin count doesn't change, and if the number of events doesn't change |
|
Poll a register.
|
|
Perform necessary hardware checks before a scan.
|
|
Needs scan to know whether to set formatters into expanded mode.
|
|
Don't use if important to preserve primitive state! Returns new[]ed block of memory IPC: Possible during a scan Conf: No interaction Referenced by SctApi::ScanControlRODHisto::getEventCountChunk(), and SctApi::ScanControlRODHisto::getHistogramChunk(). |
|
Don't use if important to preserve primitive state! IPC: Possible during a scan Conf: No interaction |
|
Print ROD calibration registers.
|
|
Uses the sctConf method. IPC: Not very useful without feedback Conf: Possible lookup Referenced by TApi::printABCDModule(). |
|
First retrieve the configuration from the ROD Uses the sctConf method. IPC: Not very useful without feedback Conf: Possible lookup Referenced by TApi::printABCDRodModule(). |
|
IPC: Immediate response Conf: No communication.
Referenced by TApi::printBOCRegisters(). |
|
IPC: Immediate response Conf: No communication.
Referenced by TApi::printBOCSetup(). |
|
Do quick scan of channels Recognises all the same, clock by 2 and an event header Return a char for each link examined 0 All zero's 1 All one's 2 Clock by 2 4 Clock by 4 L L1A E Event Header S Soft Reset B BC Reset J Junk (ie anything else). IPC: Needs feedback, some delay to response Conf: Some lookup?! Referenced by TApi::probe(). |
|
Scan over a variable and perform a probe for each.
Referenced by TApi::probeScan(). |
|
Do quick scan of channels Recognises all the same, clock by 2 and an event header Return a char for each link examined 0 All zero's 1 All one's 2 Clock by 2 4 Clock by 4 L L1A E Event Header S Soft Reset B BC Reset {b,a,d, ,c,r,a,t,e} : Nothing can be returned -- no such crate! (only relevant over top level ipc) J Junk (ie anything else). IPC: Needs feedback, some delay to response Conf: Some lookup?! Referenced by TApi::probeWithTrigger(). |
|
IPC: Needs feedback, immediate response Conf: No Communication.
Referenced by TApi::rawData(). |
|
IPC: Needs feedback, immediate response Conf: No Communication.
|
|
Read raw data from all links into one "histogram".
|
|
IPC: Immediate response Conf: No interaction.
Referenced by TApi::readRodCommandReg(). |
|
Read a register from the ROD.
|
|
IPC: Immediate response Conf: No interaction.
Referenced by TApi::readRodStatusReg(). |
|
version of getABCDModule which will not look at the crate controller's local cache but will actually get it from the ROD
|
|
version of setABCDModule which will not look at the crate controller's local cache but will actually set it to the ROD.
|
|
Suggest problems with modules based on events in event buffer.
Referenced by SctApi::ScanControlRODHisto::reportEventErrors(). |
|
Restore BOC registers.
Referenced by TApi::restoreBOCRegisters(). |
|
Response BOC setup.
Referenced by TApi::restoreBOCSetup(). |
|
Resume the primitive polling thread.
Referenced by TApi::resumePolling(). |
|
Module data as cached from Configuration. IPC: Immediate response Conf: Interaction Referenced by TApi::retrieveModule(). |
|
Direct write of ROD mode!
Referenced by TApi::rodMode(). |
|
Save BOC registers.
Referenced by TApi::saveBOCRegisters(). |
|
Save BOC setup.
Referenced by TApi::saveBOCSetup(). |
|
IPC: Needs feedback, immediate response Conf: No Communication.
Referenced by TApi::scanEvents(). |
|
Referenced by TApi::sendABCDModule(). |
|
Referenced by SctApi::ScanControlTIMHisto::nextBin(), and TApi::sendABCDModules(). |
|
Send a SEND_DATA primitive and retrieve the (pointer, length) result.
Referenced by SctApi::ScanControlRODHisto::getEventCountChunk(), and SctApi::ScanControlRODHisto::getHistogramChunk(). |
|
IPC: Immediate response (expert) Conf: No Interaction.
Referenced by TApi::sendDebugPrimList(). |
|
IPC: Immediate response (expert) Conf: No Interaction.
Referenced by TApi::sendDebugPrimListAll(). |
|
Send the previously created prim list to a slave dsp.
Referenced by TApi::sendDebugSlavePrimList(). |
|
The mask is unchanged in this function and it is set up to go to all modules. IPC: Not during scan Conf: No Communication |
|
A helper function for other methods in this class, to be used only internally to this class as it exposes the RodPrimList class.
Referenced by SctApi::ScanControlRODHisto::nextBin(). |
|
A helper function for other methods in this class, to be used only internally to this class as it exposes the RodPrimList class.
|
|
IPC: Not during any other scan Conf: No communication.
Referenced by TApi::sendRodTrigger(). |
|
Send a RodPrimList to the Master DSP which contains the RodPrimList which is passed as an argument.
|
|
Send burst of triggers to TIM.
Referenced by TApi::sendTimBurst(). |
|
Send lots of triggers: frequency and source worked out from trigger.
Referenced by TApi::sendTriggers(). |
|
IPC: Don't do during scan Conf: Possible cache LocalCache: Yes.
Referenced by TApi::setABCDModule(). |
|
IPC: Don't do during scan Conf: Possible cache LocalCache: Yes.
Referenced by TApi::setABCDModules(). |
|
List of banks to be kept up to date with.
Referenced by TApi::setAutoUpdateBank(). |
|
Enable a debug option. DDC: No action IPC: Class action Conf: No communication Referenced by TApi::setDebugOption(). |
|
put all EFB error masks to their cached values
Referenced by SctApi::ScanControlRODHisto::postScanModuleSetup(). |
|
C++ only method to tell a IS aware program to go and look up the dictionary which will tell it where to write to.
|
|
C++ only method to tell a MRS aware program where to write to.
|
|
IPC: Don't do during a scan.
Referenced by TApi::setRunNumber(). |
|
IPC: Don't do during a scan.
Referenced by TApi::setScanNumber(). |
|
Set block of slave memory to value (using RW_SLAVE_MEMORY).
|
|
This sets the unexpected handler to interpret all sorts of exceptions. Called by constructor |
|
Setup an event dump according to scan and ex.
|
|
Setup event trapping according to scan and ex.
|
|
Setup histogramming according to scan and ex.
|
|
Add set module masks command to primitive list.
|
|
Set module masks.
|
|
Put raw data into FIFOs ready to read out.
|
|
Setup module, dsp masks etc.
|
|
Leave everything in a suitable state and delete all the objects. Shutdown anything that needs shutting down This is where we should send DCS to standby message?? IPC: Block everything else! Referenced by TApi::shutdownAll(). |
|
Dump to ${tempDir}/Dump_05d.
|
|
Dump to ${tempDir}/Dump_05d.
Referenced by TApi::standardRegisterDump(). |
|
Dump to ${tempDir}/Dump_05d RODs sent to consecutive d.
|
|
DDC: Check modules configured. .. Check select IPC: Not during any other scan Conf: Lookup Referenced by TApi::startAsyncScan(). |
|
Start event trap on a slave.
|
|
Start event trapping according to scan and ex.
|
|
Create histogram task primitive.
Referenced by SctApi::ScanControlRODHisto::nextBin(). |
|
DDC: Check modules configured. .. Check select IPC: Not during any other scan Conf: Lookup |
|
Send the start slave primitive to a DSP.
|
|
DDC: Check modules in configurable state. Correct run state and no warnings IPC: Don't do during a scan Conf: Maybe interaction |
|
IPC: Immediate response (sane in all eventualities!) Conf: No communication.
Referenced by TApi::status(). |
|
Stop event trap on a slave.
|
|
Stop the histogramming and event trapping tasks.
|
|
Pause the primitive polling thread.
Referenced by TApi::stopPolling(). |
|
IPC: Not during scan Conf: No communication.
Referenced by TApi::stopTriggers(). |
|
IPC: Don't do during a scan Conf: Definite interaction!
|
|
IPC: Don't do during a scan Conf: Definite interaction!
|
|
A helper function for other methods in this class, to be used only internally to this class as it exposes the RodPrimList class.
|
|
A helper function for other methods in this class, to be used only internally to this class as it exposes the RodPrimList class.
|
|
Return selected link to send to ROD front panel LEMO.
|
|
Select link to send to ROD front panel LEMO.
Referenced by TApi::testLinkOutSelect(). |
|
Stop all tasks to do with histogramming. This is a lower level function than abort, which returns to a know state DDC: If changed? IPC: Any time Conf: No communication Referenced by TApi::tidyHistogramming(). |
|
IPC: Not during scan Conf: No communication.
Referenced by TApi::timBCReset(). |
|
IPC: Not during scan Conf: No communication.
Referenced by TApi::timCalL1A(). |
|
get reset frequency (Hz)
Referenced by TApi::timGetResetFrequency(). |
|
get trigger frequency (kHz)
Referenced by TApi::timGetTriggerFrequency(). |
|
IPC: Not during scan Conf: No communication.
Referenced by TApi::timL1A(). |
|
load a tim sequence - see Crate for detail
|
|
Referenced by SctApi::ScanControl::printVetoStatus(), and TApi::timReadRegister(). |
|
run the tim sequence
Referenced by TApi::runTimSequence(). |
|
Freq is approximated by divider circuit Available frequencies are 600, 60, 6, 0.6 kHz Divided by: 1, 2, 3, 4, 5, 6, (10, 12).
Referenced by TApi::timSetFrequency(). |
|
IPC: Not during scan Conf: No communication.
Referenced by TApi::timSoftReset(). |
|
Print all TIM registers to stdout.
Referenced by TApi::timVerbose(). |
|
Referenced by SctApi::ScanControlTIMHisto::startHistogramming(), and TApi::timRegLoad(). |
|
For use in emergency situations only (not as a matter of course) use unsetBusy() to override SctApi's present busy state and ask it to appear "not busy" to the outside world. See also "SctApi::hasFinishedScanning()". |
|
Disable a debug option. DDC: No action IPC: Class action Conf: No communication Referenced by TApi::unsetDebugOption(). |
|
Update the IS version of SctApiCounters.
|
|
Check that a scan is ok to run.
|
|
Write to a ROD register.
|
|
The constant returned as an unknown module.
|
|
The configuration database.
|
|
Map to retrieve crate objects.
|
|
Current run mode.
|
|
The current debug primitive list.
|
|
For debug only, save the scan information.
|
|
list of banks to automatically update on ROD
|
|
This Idiosyncrasy is what makes us different from every other crate controller.
Definition at line 1617 of file SctApi.h. Referenced by ucid(). |
|
initialisation threads
|
|
Log everything that is called.
Definition at line 1633 of file SctApi.h. Referenced by log(). |
|
configuration cache
|
|
Cache of module configurations.
|
|
Controls access to module configurations during initialisation.
|
|
List them again, but with additional info...
|
|
List all the RODs.
|
|
Current run number.
|
|
Current scan number.
|