artdaq_demo  v3_06_01
demo Namespace Reference

The artdaq_demo namespace. More...

Classes

class  ASCIIDump
 An art::EDAnalyzer meant for decoding demo::ASCIIFragment objects. More...
 
class  CheckIntegrity
 Demonstration art::EDAnalyzer which checks that all ToyFragment ADC counts are in the defined range. More...
 
class  RootApplication
 Provides a wrapper for displaying ROOT canvases. More...
 
class  ToyDump
 An art::EDAnalyzer module designed to display the data from demo::ToyFragment objects. More...
 
class  WFViewer
 An example art analysis module which plots events both as histograms and event snapshots (plot of ADC value vs ADC number) More...
 
struct  GetPackageBuildInfo
 Wrapper around the demo::GetPackageBuildInfo::getPackageBuildInfo function. More...
 
class  AsciiSimulator
 Generates ASCIIFragments filled with user-specified ASCII strings. More...
 
class  ToySimulator
 ToySimulator is a simple type of fragment generator intended to be studied by new users of artdaq as an example of how to create such a generator in the "best practices" manner. Derived from artdaq's CommandableFragmentGenerator class, it can be used in a full DAQ simulation, obtaining data from the ToyHardwareInterface class. More...
 
struct  CommandPacket
 Struct defining UDP packet used for communicating with data receiver. More...
 
class  UDPReceiver
 An artdaq::CommandableFragmentGenerator which receives data in the form of UDP datagrams. More...
 
class  MisbehaviorTest
 A test RoutingMasterPolicy which does various "bad" things, determined by configuration. More...
 

Typedefs

typedef artdaq::BuildInfo
<&instanceName,
artdaqcore::GetPackageBuildInfo,
artdaqutilities::GetPackageBuildInfo,
artdaq::GetPackageBuildInfo,
coredemo::GetPackageBuildInfo,
demo::GetPackageBuildInfo
ArtdaqDemoBuildInfo
 ArtdaqDemoBuildInfo is a BuildInfo type containing information about artdaq_core, artdaq, artdaq_core_demo and artdaq_demo builds.
 
typedef art::Source
< artdaq::detail::SharedMemoryReader
< demo::makeFragmentTypeMap > > 
DemoInput
 DemoInput is an art::Source using the detail::RawEventQueueReader class.
 
typedef std::array< uint8_t, 1500 > packetBuffer_t
 An array of 1500 bytes (MTU length)
 
typedef std::list< packetBuffer_tpacketBuffer_list_t
 A std::list of packetbuffer_t objects.
 

Enumerations

enum  CommandType : uint8_t { Read = 0, Write = 1, Start_Burst = 2, Stop_Burst = 3 }
 Enumeration describing valid command types.
 
enum  ReturnCode : uint8_t { Read = 0, First = 1, Middle = 2, Last = 3 }
 Enumeration describing status codes that indicate current sender position in the stream.
 
enum  DataType : uint8_t { Raw = 0, JSON = 1, String = 2 }
 Enumeration describing potential data types.
 

Variables

static std::string instanceName = "ArtdaqDemoBuildInfo"
 Instance name for the artdaq_demo version of BuildInfo module.
 

Detailed Description

The artdaq_demo namespace.

Namespace used to differentiate the artdaq_demo version of GetPackageBuildInfo from other versions present in the system.