artdaq  v3_09_00
art Namespace Reference

Namespace used for classes that interact directly with art. More...

Classes

struct  Source_generator< ArtdaqInputHelper< ShmemWrapper > >
 Trait definition (must precede source typedef). More...
 
class  ArtdaqInputHelper
 This template class provides a unified interface for reading data into art. More...
 
class  ArtdaqOutput
 This is the base class for artdaq OutputModules, providing the serialization interface for art Events. More...
 
class  BinaryFileOutput
 The BinaryFileOutput module streams art Events to a binary file, bypassing ROOT. More...
 
class  BinaryNetOutput
 An art::OutputModule which sends Fragments using DataSenderManager. This module produces output identical to that of a BoardReader, for use in systems which have multiple layers of EventBuilders. More...
 
struct  ArtdaqFragmentNamingServiceInterfaceConfig
 Configuration for the ArtdaqFragmentNamingServiceInterface More...
 
struct  ArtdaqSharedMemoryServiceInterfaceConfig
 Configuration for the ArtdaqSharedMemoryServiceInterface More...
 
struct  ServicesConfig
 Configuration of the services block for artdaq art processes More...
 
struct  AnalyzersConfig
 
struct  ProducersConfig
 Artdaq does not provide any producers. More...
 
struct  FiltersConfig
 
struct  PhysicsConfig
 Configuration of the physics block for artdaq art processes More...
 
struct  RootOutputConfig
 Confgiguration for ROOT output modules More...
 
struct  OutputsConfig
 Configuration for the outputs block of artdaq art processes More...
 
struct  SourceConfig
 Configuration for the source block of artdaq art processes More...
 
struct  Config
 Required configuration for art processes started by artdaq, with artdaq-specific defaults where applicable More...
 
class  ShmemWrapper
 This class wraps ArtdaqSharedMemoryService so that it can act as an ArtdaqInput template class. More...
 
class  RootNetOutput
 An art::OutputModule which sends events using DataSenderManager. This module is designed for transporting Fragment-wrapped art::Events after they have been read into art, for example between the EventBuilder and the Aggregator. More...
 
struct  Source_generator< ArtdaqInputHelper< artdaq::TransferWrapper > >
 Trait definition (must precede source typedef). More...
 
class  TransferOutput
 An art::OutputModule which sends events using DataSenderManager. This module is designed for transporting Fragment-wrapped art::Events after they have been read into art, for example between the EventBuilder and the Aggregator. More...
 

Typedefs

using ArtdaqInput = art::Source< ArtdaqInputHelper< ShmemWrapper >>
 ArtdaqInput is an art::Source using an ArtdaqInputHelper-wrapped ShmemWrapper.
 
using TransferInput = art::Source< ArtdaqInputHelper< artdaq::TransferWrapper >>
 TransferInput is an art::Source using the artdaq::TransferWrapper class as the data source.
 

Functions

template<typename T >
T * ReadObjectAny (const std::unique_ptr< TBufferFile > &infile, const std::string &className, const std::string &callerName)
 ReadObjectAny reads data from a TBufferFile and casts it to the given type. More...
 
template<typename T >
void printProcessHistoryID (const std::string &label, const T &object)
 Print the processHistoryID from the object. More...
 
template<typename T >
void printProcessMap (const T &mappable, const std::string &description)
 Print data from a map-like class. More...
 

Detailed Description

Namespace used for classes that interact directly with art.

Function Documentation

template<typename T >
void art::printProcessHistoryID ( const std::string &  label,
const T &  object 
)

Print the processHistoryID from the object.

Template Parameters
TType of the object
Parameters
labelLabel for the object
objectObject to print processHistoryID from

Definition at line 85 of file InputUtilities.hh.

template<typename T >
void art::printProcessMap ( const T &  mappable,
const std::string &  description 
)

Print data from a map-like class.

Template Parameters
TType of the class
Parameters
mappableMap-like class to print
descriptionDescription of the map-like class

Definition at line 108 of file InputUtilities.hh.

template<typename T >
T* art::ReadObjectAny ( const std::unique_ptr< TBufferFile > &  infile,
const std::string &  className,
const std::string &  callerName 
)

ReadObjectAny reads data from a TBufferFile and casts it to the given type.

Template Parameters
TThe type of the data being read
Parameters
infileA pointer to the TBufferFile being read
classNameName of the class to retrieve (must be in ROOT dictionary)
callerNameName of the calling class, for logging purposes
Returns
Pointer to object of type T

Definition at line 52 of file InputUtilities.hh.