tdaq-develop-2025-02-12
|
Typedefs | |
typedef artdaq::BuildInfo<&instanceName, artdaqcore::GetPackageBuildInfo, artdaq::GetPackageBuildInfo, ots::GetPackageBuildInfo > | ArtdaqOtsBuildInfo |
typedef std::string | packetBuffer_t |
typedef std::list< packetBuffer_t > | packetBuffer_list_t |
typedef ConfigurationInterface *() | cbmakeFunc_t() |
typedef DataProcessor *() | dpvimakeFunc_t() |
typedef std::map< xdata::UnsignedIntegerT, XDAQ_CONST_CALL xdaq::ApplicationDescriptor * > | SupervisorDescriptors |
key is the crate number | |
typedef std::map< unsigned int, const SupervisorInfo & > | SupervisorInfoMap |
Functions | |
FragmentType | toFragmentType (std::string t_string) |
Lookup the type code for a fragment by its string name. More... | |
std::string | fragmentTypeToString (FragmentType val) |
Look up the name of the given FragmentType. More... | |
std::map< artdaq::Fragment::type_t, std::string > | makeFragmentTypeMap () |
Create a list of all Fragment types defined by this package, in the format that RawInput expects. More... | |
std::ostream & | operator<< (std::ostream &, UDPFragment const &) |
Let the "<<" operator dump the UDPFragment's data to stdout. | |
ConfigurationInterface * | makeConfigurationInterface (std::string const &interfacePluginName) |
DataProcessor * | makeDataProcessor (std::string const &processorPluginName, std::string const &supervisorApplicationUID, std::string const &bufferUID, std::string const &processorUID, ConfigurationTree const &configurationTree, std::string const &pathToInterfaceConfiguration) |
template<class T > | |
T | getFEMacroConstArgumentValue (FEVInterface::frontEndMacroConstArgs_t args, const std::string &argName, const T &defaultValue=T()) |
template<> | |
std::string | getFEMacroConstArgumentValue< std::string > (FEVInterface::frontEndMacroConstArgs_t args, const std::string &argName, const std::string &defaultValue) |
specialized template version of getFEMacroConstArgumentValue for string | |
template<class T > | |
T | getFEMacroArgumentValue (FEVInterface::frontEndMacroArgs_t args, const std::string &argName) |
template<> | |
std::string | getFEMacroArgumentValue< std::string > (FEVInterface::frontEndMacroArgs_t argsIn, const std::string &argName) |
specialized template version of getFEMacroArgumentValue for string | |
std::unique_ptr< FEVInterface > | makeInterface (const std::string &interfacePluginName, const std::string &interfaceUID, const ConfigurationTree &configurationTree, const std::string &pathToInterfaceConfiguration) |
RunInfoVInterface * | makeRunInfo (const std::string &runInfoPluginName, const std::string &runInfoUID) |
void | INIT_MF (const char *name) |
SlowControlsVInterface * | makeSlowControls (const std::string &slowControlsPluginName, const std::string &slowControlsUID, const ConfigurationTree &configurationTree, const std::string &pathToControlsConfiguration) |
Path to ControlsDashboard Table. More... | |
std::ostream & | operator<< (std::ostream &os, const SOAPCommand &c) |
TableBase * | makeTable (std::string const &tablePluginName) |
Variables | |
static std::string | instanceName = "ArtdaqOts" |
static std::vector< std::string > const | names {"MISSED", "UDP", "UNKNOWN"} |
static bool | MESSAGE_FACILITY_INITIALIZED |
Class: UDPDump Module Type: analyzer File: UDPDump_module.cc Description: Prints out information about each event.
The UDP Receiver class receives UDP data from an otsdaq application and puts that data into UDPFragments for further ARTDAQ analysis.
It currently assumes two things to be true:
Some C++ conventions used:
-Append a "_" to every private member function and variable
Implementation of "UDPFragment", an artdaq::Fragment overlay class
Class derived from UDPFragment which allows writes to the data (for simulation purposes). Note that for this reason it contains non-const members which hide the const members in its parent class, UDPFragment, including its reference to the artdaq::Fragment object, artdaq_Fragment_, as well as its functions pointing to the beginning and end of ADC values in the fragment, dataBegin() and dataEnd()
Using LibraryManager, find the correct library and return an instance of the specified configuration interface.
Using LibraryManager, find the correct library and return an instance of the specified interface.
This is the basic example of a raw data saver plugin. It can be used as is and it will save the data taken from a buffer in binary format without adding anything extra. If you are planning on specializing any methods you should inherit from RawDataSaverConsumerBase the same way this consumer is doing.
Using LibraryManager, find the correct library and return an instance of the specified Run Info Interface.
declare special ots soft PAUSE exception a PAUSE exception thrown during a running workloop by a state machine plugin will PAUSE the global state machine and allow for manual intervention to resume a run.
declare special ots harder STOP exception a STOP exception thrown during a running workloop by a state machine plugin will STOP the global state machine and allow for manual intervention to resume a run.
Using LibraryManager, find the correct library and return an instance of the specified Slow Controls Interface.
std::string ots::fragmentTypeToString | ( | FragmentType | val | ) |
Look up the name of the given FragmentType.
val | FragmentType to look up |
Definition at line 18 of file FragmentType.cc.
|
inline |
< make sure fcl always allows logging
Definition at line 13 of file MessageFacility.h.
std::map< artdaq::Fragment::type_t, std::string > ots::makeFragmentTypeMap | ( | ) |
Create a list of all Fragment types defined by this package, in the format that RawInput expects.
Definition at line 30 of file FragmentType.cc.
RunInfoVInterface * ots::makeRunInfo | ( | const std::string & | runInfoPluginName, |
const std::string & | runInfoUID | ||
) |
, // Key value for (eventual) RunInfoDashboard // Table in Configuration const ots::ConfigurationTree& configurationTree, // Pass the big tree const std::string& pathToControlsConfiguration) // Path to RunInfoDashboard Table
Definition at line 6 of file MakeRunInfo.cc.
ots::SlowControlsVInterface * ots::makeSlowControls | ( | const std::string & | slowControlsPluginName, |
const std::string & | slowControlsUID, | ||
const ConfigurationTree & | configurationTree, | ||
const std::string & | pathToControlsConfiguration | ||
) |
Path to ControlsDashboard Table.
slowControlsUID | Key value for (eventual) ControlsDashboard Table in Configuration |
configurationTree | Pass the big tree |
Definition at line 6 of file MakeSlowControls.cc.
ots::FragmentType ots::toFragmentType | ( | std::string | t_string | ) |
Lookup the type code for a fragment by its string name.
t_string | Name of the Fragment type to lookup |
Definition at line 8 of file FragmentType.cc.